]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0494.stderr
New upstream version 1.28.0+dfsg1
[rustc.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 LL | static A : &'static u32 = &S.a; //~ ERROR E0494
5 | ^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0494`.