rust/src/test/ui/consts/const-pattern-irrefutable.stderr

22 lines
956 B
Plaintext
Raw Normal View History

error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
2017-11-03 19:01:56 -05:00
--> $DIR/const-pattern-irrefutable.rs:22:9
|
LL | let a = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
| ^ interpreted as a constant pattern, not new variable
2017-11-03 19:01:56 -05:00
error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
2017-11-03 19:01:56 -05:00
--> $DIR/const-pattern-irrefutable.rs:23:9
|
LL | let c = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
| ^ interpreted as a constant pattern, not new variable
2017-11-03 19:01:56 -05:00
error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
2017-11-03 19:01:56 -05:00
--> $DIR/const-pattern-irrefutable.rs:24:9
|
LL | let d = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
| ^ interpreted as a constant pattern, not new variable
2017-11-03 19:01:56 -05:00
error: aborting due to 3 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0005`.