]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-50480.rs
Rollup merge of #80327 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / issues / issue-50480.rs
1 #[derive(Clone, Copy)]
2 //~^ ERROR the trait `Copy` may not be implemented for this type
3 struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
4 //~^ ERROR cannot find type `NotDefined` in this scope
5 //~| ERROR cannot find type `NotDefined` in this scope
6 //~| ERROR `i32` is not an iterator
7
8 fn main() {}