]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-ffi_const.rs
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino
[rust.git] / tests / ui / feature-gates / feature-gate-ffi_const.rs
1 #![crate_type = "lib"]
2
3 extern "C" {
4     #[ffi_const] //~ ERROR the `#[ffi_const]` attribute is an experimental feature
5     pub fn foo();
6 }