mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
17 lines
624 B
Plaintext
17 lines
624 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: `foobar` is not yet stable as a const fn
|
|
--> $DIR/const-stability-attribute-implies-missing.rs:16:18
|
|
|
|
|
LL | const VAR: u32 = foobar();
|
|
| ^^^^^^^^
|
|
|
|
|
= help: add `#![feature(const_foobar)]` to the crate attributes to enable
|
|
|
|
error: aborting due to 2 previous errors
|
|
|