]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0494.stderr
Rollup merge of #48005 - panicbit:env_unimpl_send_sync, r=alexcrichton
[rust.git] / src / test / ui / error-codes / E0494.stderr
1 error[E0494]: cannot refer to the interior of another static, use a constant instead
2   --> $DIR/E0494.rs:16:27
3    |
4 16 | static A : &'static u32 = &S.a; //~ ERROR E0494
5    |                           ^^^^
6
7 error: aborting due to previous error
8