about summary refs log tree commit diff
path: root/tests/ui/lexer/emoji-literal-prefix.rs
blob: ccc8d48d4cc3ea8877a8864f5c7d2947ef1971fd (plain)
1
2
3
4
5
6
7
8
macro_rules! lexes {($($_:tt)*) => {}}

lexes!(🐛#); //~ ERROR identifiers cannot contain emoji
lexes!(🐛"foo");
lexes!(🐛'q');
lexes!(🐛'q);

fn main() {}