about summary refs log tree commit diff
path: root/tests/ui/diagnostic-width/tabs-trimming.stderr
blob: e0d1c2d95a965bf2af1fecc2f7bf76356b8beb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[E0408]: variable `v` is not bound in all patterns
  --> $DIR/tabs-trimming.rs:9:16
   |
LL | ...                     v @ 1 | 2 | 3 => panic!("You gave me too little money {}", v), // Long text here: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...
   |                         -       ^   ^ pattern doesn't bind `v`
   |                         |       |
   |                         |       pattern doesn't bind `v`
   |                         variable not in all patterns

error[E0381]: used binding `v` is possibly-uninitialized
  --> $DIR/tabs-trimming.rs:9:67
   |
LL | ...                     v @ 1 | 2 | 3 => panic!("You gave me too little money {}", v), // Long text here: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...
   |                         -                                                          ^ `v` used here but it is possibly-uninitialized
   |                         |
   |                         binding initialized here in some conditions
   |                         binding declared here but left uninitialized

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0381, E0408.
For more information about an error, try `rustc --explain E0381`.