1 error[E0322]: explicit impls for the `Sized` trait are not permitted
2 --> $DIR/coherence-impls-sized.rs:14:1
4 LL | impl Sized for TestE {}
5 | ^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
7 error[E0322]: explicit impls for the `Sized` trait are not permitted
8 --> $DIR/coherence-impls-sized.rs:17:1
10 LL | impl Sized for MyType {}
11 | ^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
13 error[E0322]: explicit impls for the `Sized` trait are not permitted
14 --> $DIR/coherence-impls-sized.rs:20:1
16 LL | impl Sized for (MyType, MyType) {}
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
19 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
20 --> $DIR/coherence-impls-sized.rs:20:1
22 LL | impl Sized for (MyType, MyType) {}
23 | ^^^^^^^^^^^^^^^----------------
25 | | this is not defined in the current crate because tuples are always foreign
26 | impl doesn't use only types from inside the current crate
28 = note: define and implement a trait or new type instead
30 error[E0322]: explicit impls for the `Sized` trait are not permitted
31 --> $DIR/coherence-impls-sized.rs:24:1
33 LL | impl Sized for &'static NotSync {}
34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
36 error[E0322]: explicit impls for the `Sized` trait are not permitted
37 --> $DIR/coherence-impls-sized.rs:27:1
39 LL | impl Sized for [MyType] {}
40 | ^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
42 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
43 --> $DIR/coherence-impls-sized.rs:27:1
45 LL | impl Sized for [MyType] {}
46 | ^^^^^^^^^^^^^^^--------
48 | | this is not defined in the current crate because slices are always foreign
49 | impl doesn't use only types from inside the current crate
51 = note: define and implement a trait or new type instead
53 error[E0322]: explicit impls for the `Sized` trait are not permitted
54 --> $DIR/coherence-impls-sized.rs:31:1
56 LL | impl Sized for &'static [NotSync] {}
57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed
59 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
60 --> $DIR/coherence-impls-sized.rs:31:1
62 LL | impl Sized for &'static [NotSync] {}
63 | ^^^^^^^^^^^^^^^------------------
65 | | this is not defined in the current crate because slices are always foreign
66 | impl doesn't use only types from inside the current crate
68 = note: define and implement a trait or new type instead
70 error: aborting due to 9 previous errors
72 Some errors have detailed explanations: E0117, E0322.
73 For more information about an error, try `rustc --explain E0117`.