]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/E0204.stderr
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / ui / span / E0204.stderr
CommitLineData
32a655c1
SL
1error[E0204]: the trait `Copy` may not be implemented for this type
2 --> $DIR/E0204.rs:15:6
3 |
412 | foo: Vec<u32>,
5 | ------------- this field does not implement `Copy`
6...
715 | impl Copy for Foo { }
8 | ^^^^
9
32a655c1
SL
10error[E0204]: the trait `Copy` may not be implemented for this type
11 --> $DIR/E0204.rs:17:10
12 |
1317 | #[derive(Copy)]
14 | ^^^^
1518 | struct Foo2<'a> {
1619 | ty: &'a mut bool,
17 | ---------------- this field does not implement `Copy`
18
8bb4bdeb
XL
19error[E0204]: the trait `Copy` may not be implemented for this type
20 --> $DIR/E0204.rs:27:6
21 |
2223 | Bar { x: Vec<u32> },
23 | ----------- this field does not implement `Copy`
24...
2527 | impl Copy for EFoo { }
26 | ^^^^
27
32a655c1
SL
28error[E0204]: the trait `Copy` may not be implemented for this type
29 --> $DIR/E0204.rs:29:10
30 |
3129 | #[derive(Copy)]
32 | ^^^^
3330 | enum EFoo2<'a> {
3431 | Bar(&'a mut bool),
35 | ------------- this field does not implement `Copy`
36
37error: aborting due to 4 previous errors
38