]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-yeet_expr.stderr
Auto merge of #106742 - compiler-errors:new-solver-make-it-not-ice, r=lcnr
[rust.git] / tests / ui / feature-gates / feature-gate-yeet_expr.stderr
1 error[E0658]: `do yeet` expression is experimental
2   --> $DIR/feature-gate-yeet_expr.rs:4:5
3    |
4 LL |     do yeet
5    |     ^^^^^^^
6    |
7    = note: see issue #96373 <https://github.com/rust-lang/rust/issues/96373> for more information
8    = help: add `#![feature(yeet_expr)]` to the crate attributes to enable
9
10 error[E0658]: `do yeet` expression is experimental
11   --> $DIR/feature-gate-yeet_expr.rs:8:5
12    |
13 LL |     do yeet "hello";
14    |     ^^^^^^^^^^^^^^^
15    |
16    = note: see issue #96373 <https://github.com/rust-lang/rust/issues/96373> for more information
17    = help: add `#![feature(yeet_expr)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.