]> git.proxmox.com Git - rustc.git/blame - tests/ui/inline-const/pat-match-fndef.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / inline-const / pat-match-fndef.stderr
CommitLineData
add651ee
FG
1warning: the feature `inline_const_pat` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/pat-match-fndef.rs:1:12
3 |
4LL | #![feature(inline_const_pat)]
5 | ^^^^^^^^^^^^^^^^
6 |
7 = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information
8 = note: `#[warn(incomplete_features)]` on by default
9
10error: `fn() {uwu}` cannot be used in patterns
11 --> $DIR/pat-match-fndef.rs:9:9
12 |
13LL | const { uwu } => {}
14 | ^^^^^^^^^^^^^
15
4b012472 16error: aborting due to 1 previous error; 1 warning emitted
add651ee 17