about summary refs log tree commit diff
path: root/tests/ui/recursion/recursive-static-definition.stderr
blob: ce93c41bc67ceb28f746429639924773fa4ae4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: encountered static that tried to initialize itself with itself
  --> $DIR/recursive-static-definition.rs:1:23
   |
LL | pub static FOO: u32 = FOO;
   |                       ^^^ evaluation of `FOO` failed here

error[E0080]: encountered static that tried to initialize itself with itself
  --> $DIR/recursive-static-definition.rs:9:23
   |
LL | pub static BAR: Foo = BAR;
   |                       ^^^ evaluation of `BAR` failed here

error: aborting due to 2 previous errors

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