]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-pattern-irrefutable.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / const-pattern-irrefutable.stderr
1 error[E0005]: refutable pattern in local binding: `_` not covered
2 --> $DIR/const-pattern-irrefutable.rs:22:9
3 |
4 LL | let a = 4; //~ ERROR refutable pattern in local binding: `_` not covered
5 | ^ interpreted as a constant pattern, not new variable
6
7 error[E0005]: refutable pattern in local binding: `_` not covered
8 --> $DIR/const-pattern-irrefutable.rs:23:9
9 |
10 LL | let c = 4; //~ ERROR refutable pattern in local binding: `_` not covered
11 | ^ interpreted as a constant pattern, not new variable
12
13 error[E0005]: refutable pattern in local binding: `_` not covered
14 --> $DIR/const-pattern-irrefutable.rs:24:9
15 |
16 LL | let d = 4; //~ ERROR refutable pattern in local binding: `_` not covered
17 | ^ interpreted as a constant pattern, not new variable
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0005`.