| error: range-to patterns with `...` are not allowed |
| --> $DIR/feature-gate-half-open-range-patterns.rs:9:12 |
| | |
| LL | if let ...5 = 0 {} |
| | ^^^ help: use `..=` instead |
| |
| error[E0586]: inclusive range with no end |
| --> $DIR/feature-gate-half-open-range-patterns.rs:16:13 |
| | |
| LL | if let 5..= = 0 {} |
| | ^^^ help: use `..` instead |
| | |
| = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) |
| |
| error[E0586]: inclusive range with no end |
| --> $DIR/feature-gate-half-open-range-patterns.rs:19:13 |
| | |
| LL | if let 5... = 0 {} |
| | ^^^ help: use `..` instead |
| | |
| = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:7:12 |
| | |
| LL | if let ..=5 = 0 {} |
| | ^^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:9:12 |
| | |
| LL | if let ...5 = 0 {} |
| | ^^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:12:12 |
| | |
| LL | if let ..5 = 0 {} |
| | ^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:14:12 |
| | |
| LL | if let 5.. = 0 {} |
| | ^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:16:12 |
| | |
| LL | if let 5..= = 0 {} |
| | ^^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error[E0658]: half-open range patterns are unstable |
| --> $DIR/feature-gate-half-open-range-patterns.rs:19:12 |
| | |
| LL | if let 5... = 0 {} |
| | ^^^^ |
| | |
| = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information |
| = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable |
| |
| error: aborting due to 9 previous errors |
| |
| Some errors have detailed explanations: E0586, E0658. |
| For more information about an error, try `rustc --explain E0586`. |