summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-78655.stderr
blob: f5b1123e7f3431340f5d3773ba9cff0bc5799cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error[E0381]: used binding `x` isn't initialized
  --> $DIR/issue-78655.rs:3:5
   |
LL |     let x;
   |         - binding declared here but left uninitialized
LL |     &x
   |     ^^ `x` used here but it isn't initialized

error: could not evaluate constant pattern
  --> $DIR/issue-78655.rs:7:9
   |
LL |     let FOO = FOO;
   |         ^^^

error: could not evaluate constant pattern
  --> $DIR/issue-78655.rs:7:9
   |
LL |     let FOO = FOO;
   |         ^^^

error: aborting due to 3 previous errors

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