rust/tests/ui/feature-gates/feature-gate-builtin_syntax.rs
2023-05-05 21:44:48 +02:00

8 lines
125 B
Rust

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