diff options
Diffstat (limited to 'src/test/ui/error-codes/E0374.rs')
-rw-r--r-- | src/test/ui/error-codes/E0374.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/error-codes/E0374.rs b/src/test/ui/error-codes/E0374.rs deleted file mode 100644 index 41fcedc32..000000000 --- a/src/test/ui/error-codes/E0374.rs +++ /dev/null @@ -1,11 +0,0 @@ -#![feature(coerce_unsized)] -use std::ops::CoerceUnsized; - -struct Foo<T: ?Sized> { - a: i32, -} - -impl<T, U> CoerceUnsized<Foo<U>> for Foo<T> //~ ERROR E0374 - where T: CoerceUnsized<U> {} - -fn main() {} |