rust/tests/ui/feature-gates/feature-gate-cfi_encoding.rs

5 lines
157 B
Rust

#![crate_type = "lib"]
#[cfi_encoding = "3Bar"] //~ERROR 3:1: 3:25: the `#[cfi_encoding]` attribute is an experimental feature [E0658]
pub struct Foo(i32);