blob: 2d82354c62cca706fa9c17c35ed5b5f7e3575034 (
plain)
1
2
3
4
5
6
7
8
|
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
}
|