error: inherent impls cannot be `default` --> $DIR/validation.rs:7:14 | LL | default impl S {} | ------- ^ inherent impl for this type | | | `default` because of this | = note: only trait implementations may be annotated with `default` error: impls of auto traits cannot be default --> $DIR/validation.rs:9:21 | LL | default unsafe impl Send for S {} | ------- ^^^^ auto trait | | | default because of this error: impls of auto traits cannot be default --> $DIR/validation.rs:10:15 | LL | default impl !Send for Z {} | ------- ^^^^ auto trait | | | default because of this error[E0192]: invalid negative impl --> $DIR/validation.rs:13:14 | LL | default impl !Tr for S {} | ^^^ | = note: negative impls are only allowed for auto traits, like `Send` and `Sync` error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0192`.