blob: 9bf59bd4f636a494c2d83aa0d857cada0dee19d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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[E0750]: negative impls cannot be default impls
--> $DIR/validation.rs:10:14
|
LL | default impl !Send for Z {}
| ^^^^^^^ ^
error[E0750]: negative impls cannot be default impls
--> $DIR/validation.rs:14:14
|
LL | default impl !Tr for S {}
| ^^^^^^^ ^
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0750`.
|