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

10 lines
188 B
Rust
Raw Normal View History

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