mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +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>
9 lines
360 B
Plaintext
9 lines
360 B
Plaintext
error: feature `const_bar` implying `const_foobar` does not exist
|
|
--> $DIR/const-stability-attribute-implies-missing.rs:10:1
|
|
|
|
|
LL | #[rustc_const_unstable(feature = "const_foobar", issue = "1", implied_by = "const_bar")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|