mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-05 18:50:54 +00:00
9 lines
257 B
Rust
9 lines
257 B
Rust
struct S<'1> { s: &'1 usize }
|
|
//~^ ERROR lifetimes cannot start with a number
|
|
//~| ERROR lifetimes cannot start with a number
|
|
fn main() {
|
|
// verify that the parse error doesn't stop type checking
|
|
let x: usize = "";
|
|
//~^ ERROR mismatched types
|
|
}
|