1 error: inherent impls cannot be `default`
2 --> $DIR/validation.rs:7:14
5 | ------- ^ inherent impl for this type
7 | `default` because of this
9 = note: only trait implementations may be annotated with `default`
11 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
12 --> $DIR/validation.rs:2:12
14 LL | #![feature(specialization)]
17 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
18 = help: consider using `min_specialization` instead, which is more stable and complete
19 = note: `#[warn(incomplete_features)]` on by default
21 error: impls of auto traits cannot be default
22 --> $DIR/validation.rs:9:21
24 LL | default unsafe impl Send for S {}
25 | ------- ^^^^ auto trait
27 | default because of this
29 error: impls of auto traits cannot be default
30 --> $DIR/validation.rs:10:15
32 LL | default impl !Send for Z {}
33 | ------- ^^^^ auto trait
35 | default because of this
37 error[E0750]: negative impls cannot be default impls
38 --> $DIR/validation.rs:10:1
40 LL | default impl !Send for Z {}
43 error[E0750]: negative impls cannot be default impls
44 --> $DIR/validation.rs:14:1
46 LL | default impl !Tr for S {}
49 error: aborting due to 5 previous errors; 1 warning emitted
51 For more information about this error, try `rustc --explain E0750`.