You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0013]: constants cannot refer to statics,use a constant instead
--> src/lib.rs:3:22
|
3 | constFOO_REF:&u8 = &FOO;
| ^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0013`.
error: could not compile `playground`.
The wording constants cannot refer to statics, use a constant instead is confusing
Activity
Rollup merge of rust-lang#68079 - varkor:E0013-clarify, r=Centril
Rollup merge of rust-lang#68079 - varkor:E0013-clarify, r=Centril