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 error: impls of auto traits cannot be default
12 --> $DIR/validation.rs:9:21
14 LL | default unsafe impl Send for S {}
15 | ------- ^^^^ auto trait
17 | default because of this
19 error: impls of auto traits cannot be default
20 --> $DIR/validation.rs:10:15
22 LL | default impl !Send for Z {}
23 | ------- ^^^^ auto trait
25 | default because of this
27 error[E0750]: negative impls cannot be default impls
28 --> $DIR/validation.rs:10:14
30 LL | default impl !Send for Z {}
33 error[E0750]: negative impls cannot be default impls
34 --> $DIR/validation.rs:14:14
36 LL | default impl !Tr for S {}
39 error: aborting due to 5 previous errors
41 For more information about this error, try `rustc --explain E0750`.