Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
parser
/
numeric-lifetime.rs
blob: 2d82354c62cca706fa9c17c35ed5b5f7e3575034 [
file
]
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
}