diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/traits/issue-50480.rs (renamed from src/test/ui/issues/issue-50480.rs) | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-50480.rs b/tests/ui/traits/issue-50480.rs index 10597caf5..005939e0c 100644 --- a/src/test/ui/issues/issue-50480.rs +++ b/tests/ui/traits/issue-50480.rs @@ -5,13 +5,11 @@ struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); //~| ERROR cannot find type `NotDefined` in this scope //~| ERROR cannot find type `N` in this scope //~| ERROR cannot find type `N` in this scope -//~| ERROR `i32` is not an iterator #[derive(Clone, Copy)] //~^ ERROR the trait `Copy` may not be implemented for this type struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); //~^ ERROR cannot find type `NotDefined` in this scope //~| ERROR cannot find type `N` in this scope -//~| ERROR `i32` is not an iterator fn main() {} |