rust/tests/ui/parser/builtin-syntax.rs

10 lines
188 B
Rust
Raw Normal View History

2023-04-29 12:57:26 +00:00
#![feature(builtin_syntax)]
fn main() {
builtin # foobar(); //~ ERROR unknown `builtin #` construct
}
fn not_identifier() {
builtin # {}(); //~ ERROR expected identifier after
}