rust/tests/ui/parser/builtin-syntax.rs
2023-05-05 21:44:48 +02:00

10 lines
188 B
Rust

#![feature(builtin_syntax)]
fn main() {
builtin # foobar(); //~ ERROR unknown `builtin #` construct
}
fn not_identifier() {
builtin # {}(); //~ ERROR expected identifier after
}