1 error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
2 --> $DIR/staged-api.rs:35:5
7 = help: add `#![feature(foo)]` to the crate attributes to enable
9 error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
10 --> $DIR/staged-api.rs:47:5
15 = help: add `#![feature(foo)]` to the crate attributes to enable
17 error: `<staged_api::Unstable as staged_api::MyTrait>::func` is not yet stable as a const fn
18 --> $DIR/staged-api.rs:55:5
20 LL | Unstable::func();
23 = help: const-stable functions can only call other const-stable functions
25 error: `<Foo as staged_api::MyTrait>::func` is not yet stable as a const fn
26 --> $DIR/staged-api.rs:57:5
31 = help: const-stable functions can only call other const-stable functions
33 error: `const_context_not_const_stable` is not yet stable as a const fn
34 --> $DIR/staged-api.rs:59:5
36 LL | const_context_not_const_stable()
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 = help: const-stable functions can only call other const-stable functions
41 error: aborting due to 5 previous errors