]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/hir-const-check.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / hir-const-check.stderr
CommitLineData
94222f64 1error[E0658]: `?` is not allowed in a `const fn`
2b03887a 2 --> $DIR/hir-const-check.rs:12:9
ba9703b0 3 |
f035d41b
XL
4LL | Some(())?;
5 | ^^^^^^^^^
94222f64
XL
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
ba9703b0
XL
9
10error: aborting due to previous error
11
94222f64 12For more information about this error, try `rustc --explain E0658`.