]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0282]: type annotations needed |
923072b8 | 2 | --> $DIR/issue-2151.rs:2:9 |
8faf50e0 XL |
3 | | |
4 | LL | let x = panic!(); | |
923072b8 | 5 | | ^ |
8faf50e0 XL |
6 | | |
7 | = note: type must be known at this point | |
923072b8 FG |
8 | help: consider giving `x` an explicit type |
9 | | | |
10 | LL | let x: _ = panic!(); | |
11 | | +++ | |
8faf50e0 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
15 | For more information about this error, try `rustc --explain E0282`. |