]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/staged-api.stock.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / staged-api.stock.stderr
CommitLineData
136023e0
XL
1error: trait methods cannot be stable const fn
2 --> $DIR/staged-api.rs:22:5
3 |
4LL | / fn func() {
5LL | |
6LL | | }
7 | |_____^
8
9error: `<staged_api::Unstable as staged_api::MyTrait>::func` is not yet stable as a const fn
10 --> $DIR/staged-api.rs:34:5
11 |
12LL | Unstable::func();
13 | ^^^^^^^^^^^^^^^^
14 |
15 = help: add `#![feature(staged)]` to the crate attributes to enable
16
17error: aborting due to 2 previous errors
18