mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
a047064d6b
Reverts PR #108031 Fixes (doesnt close until beta backported) #109746 This reverts commite3f9db5fc3
. This reverts commit98b82aedba
. This reverts commit380fa26413
.
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
|
|
}
|