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

8 lines
125 B
Rust

struct Foo {
v: u8,
w: u8,
}
fn main() {
builtin # offset_of(Foo, v); //~ ERROR `builtin #` syntax is unstable
}