@@ -78,13 +78,13 @@ LL | default trait foo = Ord;
78
78
|
79
79
= note: only associated `fn`, `const`, and `type` items can be `default`
80
80
81
- error: inherent impls cannot be ` default`
81
+ error: inherent impls cannot be default
82
82
--> $DIR/default-on-wrong-item-kind.rs:22:18
83
83
|
84
84
LL | default impl foo {}
85
85
| ------- ^^^ inherent impl for this type
86
86
| |
87
- | ` default` because of this
87
+ | default because of this
88
88
|
89
89
= note: only trait implementations may be annotated with `default`
90
90
@@ -285,13 +285,13 @@ LL | default trait foo = Ord;
285
285
|
286
286
= help: consider moving the trait alias out to a nearby module scope
287
287
288
- error: inherent impls cannot be ` default`
288
+ error: inherent impls cannot be default
289
289
--> $DIR/default-on-wrong-item-kind.rs:56:18
290
290
|
291
291
LL | default impl foo {}
292
292
| ------- ^^^ inherent impl for this type
293
293
| |
294
- | ` default` because of this
294
+ | default because of this
295
295
|
296
296
= note: only trait implementations may be annotated with `default`
297
297
@@ -509,13 +509,13 @@ LL | default trait foo = Ord;
509
509
|
510
510
= help: consider moving the trait alias out to a nearby module scope
511
511
512
- error: inherent impls cannot be ` default`
512
+ error: inherent impls cannot be default
513
513
--> $DIR/default-on-wrong-item-kind.rs:93:18
514
514
|
515
515
LL | default impl foo {}
516
516
| ------- ^^^ inherent impl for this type
517
517
| |
518
- | ` default` because of this
518
+ | default because of this
519
519
|
520
520
= note: only trait implementations may be annotated with `default`
521
521
@@ -733,13 +733,13 @@ LL | default trait foo = Ord;
733
733
|
734
734
= help: consider moving the trait alias out to a nearby module scope
735
735
736
- error: inherent impls cannot be ` default`
736
+ error: inherent impls cannot be default
737
737
--> $DIR/default-on-wrong-item-kind.rs:130:18
738
738
|
739
739
LL | default impl foo {}
740
740
| ------- ^^^ inherent impl for this type
741
741
| |
742
- | ` default` because of this
742
+ | default because of this
743
743
|
744
744
= note: only trait implementations may be annotated with `default`
745
745
0 commit comments