]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/hir-const-check.stderr
Auto merge of #106371 - RalfJung:no-ret-position-noalias, r=nikic
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / hir-const-check.stderr
1 error[E0658]: `?` is not allowed in a `const fn`
2   --> $DIR/hir-const-check.rs:12:9
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`.