summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0494.stderr
blob: 65e6b1fe670f11bc794d78ed2629d8bbcc4ad101 (plain)
1
2
3
4
5
6
7
8
9
error[E0494]: cannot refer to the interior of another static, use a constant instead
  --> $DIR/E0494.rs:16:27
   |
LL | static A : &'static u32 = &S.a; //~ ERROR E0494
   |                           ^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0494`.