about summary refs log tree commit diff
path: root/tests/ui/recursion/recursive-static-definition.stderr
blob: 7063e5c3c6671cc978967126d1d6a6728d8083e8 (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 static initializer 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 static initializer failed here

error: aborting due to 2 previous errors

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