]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/staged-api.unstable.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / staged-api.unstable.stderr
CommitLineData
923072b8
FG
1error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
2 --> $DIR/staged-api.rs:35:5
3 |
4LL | Foo::func();
5 | ^^^^^^^^^^^
6 |
7 = help: add `#![feature(foo)]` to the crate attributes to enable
8
9error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
10 --> $DIR/staged-api.rs:47:5
11 |
12LL | Foo::func();
13 | ^^^^^^^^^^^
14 |
15 = help: add `#![feature(foo)]` to the crate attributes to enable
16
17error: `<staged_api::Unstable as staged_api::MyTrait>::func` is not yet stable as a const fn
18 --> $DIR/staged-api.rs:55:5
19 |
20LL | Unstable::func();
21 | ^^^^^^^^^^^^^^^^
22 |
23 = help: const-stable functions can only call other const-stable functions
24
25error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
26 --> $DIR/staged-api.rs:57:5
27 |
28LL | Foo::func();
29 | ^^^^^^^^^^^
30 |
31 = help: const-stable functions can only call other const-stable functions
32
33error: `const_context_not_const_stable` is not yet stable as a const fn
34 --> $DIR/staged-api.rs:59:5
35 |
36LL | const_context_not_const_stable()
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 |
39 = help: const-stable functions can only call other const-stable functions
40
41error: aborting due to 5 previous errors
42