mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
912783402f
Extend support for `implies_by` (from `#[stable]` and `#[unstable]`) to `#[rustc_const_stable]` and `#[rustc_const_unstable]`. Signed-off-by: David Wood <david.wood@huawei.com>
11 lines
276 B
Plaintext
11 lines
276 B
Plaintext
error: `foobar` is not yet stable as a const fn
|
|
--> $DIR/const-stability-attribute-implies-no-feature.rs:12:5
|
|
|
|
|
LL | foobar();
|
|
| ^^^^^^^^
|
|
|
|
|
= help: add `#![feature(const_foobar)]` to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|