Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
nll
/
user-annotations
/
type_ascription_static_lifetime.rs
blob: 101b5cfabb3d06419e37559c583179c4b15f5790 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
#![
feature
(
type_ascription
)]
fn
main
()
{
let
x
=
22
_u32
;
let
y
:
&
u32
=
&
x
:
&
'
static
u32
;
//~ ERROR E0597
}