]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-yeet_expr-in-cfg.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / feature-gates / feature-gate-yeet_expr-in-cfg.stderr
1 error[E0658]: `do yeet` expression is experimental
2   --> $DIR/feature-gate-yeet_expr-in-cfg.rs:6:9
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-in-cfg.rs:14: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`.