summaryrefslogtreecommitdiffstats
path: root/src/test/ui/or-patterns/or-patterns-syntactic-pass.stderr
blob: c43fe192a73b86fa7075da79bba804ede79306a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
warning: box pattern syntax is experimental
  --> $DIR/or-patterns-syntactic-pass.rs:70:10
   |
LL |     let (box 0 | 1); // Unstable; we *can* change the precedence if we want.
   |          ^^^^^
   |
   = note: see issue #29641 <https://github.com/rust-lang/rust/issues/29641> for more information
   = help: add `#![feature(box_patterns)]` to the crate attributes to enable
   = warning: unstable syntax can change at any point in the future, causing a hard error!
   = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>

warning: 1 warning emitted