Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
parser
/
numeric-lifetime.rs
blob: 2d82354c62cca706fa9c17c35ed5b5f7e3575034 [
file
] [
log
] [
blame
]
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
}