rust/src/test/ui/issues/issue-50480.rs
Vadim Petrochenkov 642669c74d Update tests
2020-01-09 21:23:12 +03:00

8 lines
315 B
Rust

#[derive(Clone, Copy)]
//~^ ERROR the trait `Copy` may not be implemented for this type
struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
//~^ ERROR cannot find type `NotDefined` in this scope
//~| ERROR cannot find type `NotDefined` in this scope
//~| ERROR `i32` is not an iterator
fn main() {}