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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
125 B
Rust
Raw Normal View History

2023-04-29 07:57:26 -05:00
struct Foo {
v: u8,
w: u8,
}
fn main() {
builtin # offset_of(Foo, v); //~ ERROR `builtin #` syntax is unstable
}