]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-try-feature-gate.stderr
Rollup merge of #98609 - TaKO8Ki:fix-ice-for-associated-constant-generics, r=lcnr
[rust.git] / src / test / ui / consts / const-try-feature-gate.stderr
1 error[E0658]: `?` is not allowed in a `const fn`
2   --> $DIR/const-try-feature-gate.rs:4:5
3    |
4 LL |     Some(())?;
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`.