2019-03-02 10:38:20 -08:00
|
|
|
struct S<'1> { s: &'1 usize }
|
2023-02-14 18:17:59 +08:00
|
|
|
//~^ ERROR lifetimes or labels cannot start with a number
|
|
|
|
//~| ERROR lifetimes or labels cannot start with a number
|
2019-03-02 10:38:20 -08:00
|
|
|
fn main() {
|
|
|
|
// verify that the parse error doesn't stop type checking
|
|
|
|
let x: usize = "";
|
|
|
|
//~^ ERROR mismatched types
|
|
|
|
}
|