b7f20d06ea
Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note.
7 lines
185 B
Rust
7 lines
185 B
Rust
// This test needs to the last one appearing in this file as it kills the parser
|
|
static c: char =
|
|
'nope' //~ ERROR: character literal may only contain one codepoint
|
|
;
|
|
|
|
fn main() {}
|