rust/tests/ui/issues/issue-69130.rs

8 lines
189 B
Rust
Raw Normal View History

2020-04-12 15:36:37 +00:00
// Issue 69130: character indexing bug in rustc_errors::CodeSuggestion::splice_lines().
enum F {
M (§& u8)}
//~^ ERROR unknown start of token
//~| missing lifetime specifier
fn main() {}