rustc_typeck: rework coherence to be almost completely on-demand.
This commit is contained in:
parent
9890e0466d
commit
c832e6f327
53 changed files with 836 additions and 682 deletions
|
|
@ -7,15 +7,6 @@ error[E0204]: the trait `Copy` may not be implemented for this type
|
|||
15 | impl Copy for Foo { }
|
||||
| ^^^^
|
||||
|
||||
error[E0204]: the trait `Copy` may not be implemented for this type
|
||||
--> $DIR/E0204.rs:27:6
|
||||
|
|
||||
23 | Bar { x: Vec<u32> },
|
||||
| ----------- this field does not implement `Copy`
|
||||
...
|
||||
27 | impl Copy for EFoo { }
|
||||
| ^^^^
|
||||
|
||||
error[E0204]: the trait `Copy` may not be implemented for this type
|
||||
--> $DIR/E0204.rs:17:10
|
||||
|
|
||||
|
|
@ -25,6 +16,15 @@ error[E0204]: the trait `Copy` may not be implemented for this type
|
|||
19 | ty: &'a mut bool,
|
||||
| ---------------- this field does not implement `Copy`
|
||||
|
||||
error[E0204]: the trait `Copy` may not be implemented for this type
|
||||
--> $DIR/E0204.rs:27:6
|
||||
|
|
||||
23 | Bar { x: Vec<u32> },
|
||||
| ----------- this field does not implement `Copy`
|
||||
...
|
||||
27 | impl Copy for EFoo { }
|
||||
| ^^^^
|
||||
|
||||
error[E0204]: the trait `Copy` may not be implemented for this type
|
||||
--> $DIR/E0204.rs:29:10
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue