diff options
Diffstat (limited to 'src/test/ui/nll/user-annotations/type_ascription_static_lifetime.rs')
-rw-r--r-- | src/test/ui/nll/user-annotations/type_ascription_static_lifetime.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/nll/user-annotations/type_ascription_static_lifetime.rs b/src/test/ui/nll/user-annotations/type_ascription_static_lifetime.rs deleted file mode 100644 index 88d646dee..000000000 --- a/src/test/ui/nll/user-annotations/type_ascription_static_lifetime.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![allow(warnings)] -#![feature(type_ascription)] - -fn main() { - let x = 22_u32; - let y: &u32 = type_ascribe!(&x, &'static u32); //~ ERROR E0597 -} |