diff options
Diffstat (limited to 'src/test/ui/consts/const-eval/const_prop_errors.rs')
-rw-r--r-- | src/test/ui/consts/const-eval/const_prop_errors.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/consts/const-eval/const_prop_errors.rs b/src/test/ui/consts/const-eval/const_prop_errors.rs deleted file mode 100644 index f9a36d379..000000000 --- a/src/test/ui/consts/const-eval/const_prop_errors.rs +++ /dev/null @@ -1,14 +0,0 @@ -// check-pass - -pub trait Foo { - fn foo(self) -> u32; -} - -impl<T> Foo for T { - fn foo(self) -> u32 { - fn bar<T>() { loop {} } - bar::<T> as u32 - } -} - -fn main() {} |