Commit 9b81037
wenhaozhao
fix test module compile error with rustc 1.77.0-nightly (62d7ed4a6 2024-01-11)
mutable reference of mutable static is discouraged
for more information, see issue #114447 <rust-lang/rust#114447>
reference of mutable static is a hard error from 2024 edition1 parent 41f948c commit 9b81037
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments