]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/issue-91434.stderr
Do not suggest `let_else` if no bindings would be introduced
[rust.git] / src / test / ui / consts / issue-91434.stderr
1 error: expected at least one digit in exponent
2   --> $DIR/issue-91434.rs:2:11
3    |
4 LL |     [9; [[9E; h]]];
5    |           ^^
6
7 error[E0425]: cannot find value `h` in this scope
8   --> $DIR/issue-91434.rs:2:15
9    |
10 LL |     [9; [[9E; h]]];
11    |               ^ not found in this scope
12
13 error: constant expression depends on a generic parameter
14   --> $DIR/issue-91434.rs:2:9
15    |
16 LL |     [9; [[9E; h]]];
17    |         ^^^^^^^^^
18    |
19    = note: this may fail depending on what value the parameter takes
20
21 error: aborting due to 3 previous errors
22
23 For more information about this error, try `rustc --explain E0425`.