mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
9 lines
277 B
Rust
9 lines
277 B
Rust
struct S<'1> { s: &'1 usize }
|
|
//~^ ERROR lifetimes or labels cannot start with a number
|
|
//~| ERROR lifetimes or labels cannot start with a number
|
|
fn main() {
|
|
// verify that the parse error doesn't stop type checking
|
|
let x: usize = "";
|
|
//~^ ERROR mismatched types
|
|
}
|