Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
numeric-lifetime.rs
blob: 2d82354c62cca706fa9c17c35ed5b5f7e3575034 [
file
] [
log
] [
blame
] [
edit
]
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
}