]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/control-flow/try.stderr
Rollup merge of #87596 - jesyspa:issue-87318-hidden-whitespace, r=estebank
[rust.git] / src / test / ui / consts / control-flow / try.stderr
1 error[E0658]: `?` is not allowed in a `const fn`
2   --> $DIR/try.rs:6:5
3    |
4 LL |     x?;
5    |     ^^
6    |
7    = note: see issue #74935 <https://github.com/rust-lang/rust/issues/74935> for more information
8    = help: add `#![feature(const_try)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.