fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0322]: explicit impls for the `Sized` trait are not permitted 2 --> $DIR/coherence-impls-sized.rs:14:1 3 | 4LL | impl Sized for TestE {} 5 | ^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 6 7error[E0322]: explicit impls for the `Sized` trait are not permitted 8 --> $DIR/coherence-impls-sized.rs:17:1 9 | 10LL | impl Sized for MyType {} 11 | ^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 12 13error[E0322]: explicit impls for the `Sized` trait are not permitted 14 --> $DIR/coherence-impls-sized.rs:20:1 15 | 16LL | impl Sized for (MyType, MyType) {} 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 18 19error[E0117]: only traits defined in the current crate can be implemented for arbitrary types 20 --> $DIR/coherence-impls-sized.rs:20:1 21 | 22LL | impl Sized for (MyType, MyType) {} 23 | ^^^^^^^^^^^^^^^---------------- 24 | | | 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 27 | 28 = note: define and implement a trait or new type instead 29 30error[E0322]: explicit impls for the `Sized` trait are not permitted 31 --> $DIR/coherence-impls-sized.rs:24:1 32 | 33LL | impl Sized for &'static NotSync {} 34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 35 36error[E0322]: explicit impls for the `Sized` trait are not permitted 37 --> $DIR/coherence-impls-sized.rs:27:1 38 | 39LL | impl Sized for [MyType] {} 40 | ^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 41 42error[E0117]: only traits defined in the current crate can be implemented for arbitrary types 43 --> $DIR/coherence-impls-sized.rs:27:1 44 | 45LL | impl Sized for [MyType] {} 46 | ^^^^^^^^^^^^^^^-------- 47 | | | 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 50 | 51 = note: define and implement a trait or new type instead 52 53error[E0322]: explicit impls for the `Sized` trait are not permitted 54 --> $DIR/coherence-impls-sized.rs:31:1 55 | 56LL | impl Sized for &'static [NotSync] {} 57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of `Sized` not allowed 58 59error[E0117]: only traits defined in the current crate can be implemented for arbitrary types 60 --> $DIR/coherence-impls-sized.rs:31:1 61 | 62LL | impl Sized for &'static [NotSync] {} 63 | ^^^^^^^^^^^^^^^------------------ 64 | | | 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 67 | 68 = note: define and implement a trait or new type instead 69 70error: aborting due to 9 previous errors 71 72Some errors have detailed explanations: E0117, E0322. 73For more information about an error, try `rustc --explain E0117`.