rust/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.stderr

22 lines
804 B
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: exclusive range pattern syntax is experimental
--> $DIR/feature-gate-exclusive-range-pattern.rs:4:11
|
2019-03-09 06:03:44 -06:00
LL | 0 .. 3 => {}
| ^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/37854
= help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
error[E0658]: exclusive range pattern syntax is experimental
--> $DIR/feature-gate-exclusive-range-pattern.rs:5:14
|
LL | PATH .. 3 => {}
| ^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/37854
= help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
error: aborting due to 2 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.