]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-ffi_const.stderr
Rollup merge of #94449 - GuillaumeGomez:explanation-e0726, r=Urgau
[rust.git] / src / test / ui / feature-gates / feature-gate-ffi_const.stderr
1 error[E0658]: the `#[ffi_const]` attribute is an experimental feature
2   --> $DIR/feature-gate-ffi_const.rs:4:5
3    |
4 LL |     #[ffi_const]
5    |     ^^^^^^^^^^^^
6    |
7    = note: see issue #58328 <https://github.com/rust-lang/rust/issues/58328> for more information
8    = help: add `#![feature(ffi_const)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.