fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: inherent impls cannot be default 2 --> $DIR/validation.rs:7:1 3 | 4LL | default impl S {} 5 | ^^^^^^^^^^^^^^^^^ 6 | 7 = note: only trait implementations may be annotated with default 8 9error: impls of auto traits cannot be default 10 --> $DIR/validation.rs:9:1 11 | 12LL | default unsafe impl Send for S {} 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 15error: impls of auto traits cannot be default 16 --> $DIR/validation.rs:10:1 17 | 18LL | default impl !Send for Z {} 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 21error[E0192]: negative impls are only allowed for auto traits (e.g., `Send` and `Sync`) 22 --> $DIR/validation.rs:13:1 23 | 24LL | default impl !Tr for S {} 25 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 26 27error: aborting due to 4 previous errors 28 29For more information about this error, try `rustc --explain E0192`.