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:1
14 LL | default unsafe impl Send for S {}
15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17 error: impls of auto traits cannot be default
18 --> $DIR/validation.rs:10:1
20 LL | default impl !Send for Z {}
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 error[E0192]: negative impls are only allowed for auto traits (e.g., `Send` and `Sync`)
24 --> $DIR/validation.rs:13:1
26 LL | default impl !Tr for S {}
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^
29 error: aborting due to 4 previous errors
31 For more information about this error, try `rustc --explain E0192`.