@@ -78,13 +78,13 @@ LL | default trait foo = Ord;
7878 |
7979 = note: only associated `fn`, `const`, and `type` items can be `default`
8080
81- error: inherent impls cannot be ` default`
81+ error: inherent impls cannot be default
8282 --> $DIR/default-on-wrong-item-kind.rs:22:18
8383 |
8484LL | default impl foo {}
8585 | ------- ^^^ inherent impl for this type
8686 | |
87- | ` default` because of this
87+ | default because of this
8888 |
8989 = note: only trait implementations may be annotated with `default`
9090
@@ -285,13 +285,13 @@ LL | default trait foo = Ord;
285285 |
286286 = help: consider moving the trait alias out to a nearby module scope
287287
288- error: inherent impls cannot be ` default`
288+ error: inherent impls cannot be default
289289 --> $DIR/default-on-wrong-item-kind.rs:56:18
290290 |
291291LL | default impl foo {}
292292 | ------- ^^^ inherent impl for this type
293293 | |
294- | ` default` because of this
294+ | default because of this
295295 |
296296 = note: only trait implementations may be annotated with `default`
297297
@@ -509,13 +509,13 @@ LL | default trait foo = Ord;
509509 |
510510 = help: consider moving the trait alias out to a nearby module scope
511511
512- error: inherent impls cannot be ` default`
512+ error: inherent impls cannot be default
513513 --> $DIR/default-on-wrong-item-kind.rs:93:18
514514 |
515515LL | default impl foo {}
516516 | ------- ^^^ inherent impl for this type
517517 | |
518- | ` default` because of this
518+ | default because of this
519519 |
520520 = note: only trait implementations may be annotated with `default`
521521
@@ -733,13 +733,13 @@ LL | default trait foo = Ord;
733733 |
734734 = help: consider moving the trait alias out to a nearby module scope
735735
736- error: inherent impls cannot be ` default`
736+ error: inherent impls cannot be default
737737 --> $DIR/default-on-wrong-item-kind.rs:130:18
738738 |
739739LL | default impl foo {}
740740 | ------- ^^^ inherent impl for this type
741741 | |
742- | ` default` because of this
742+ | default because of this
743743 |
744744 = note: only trait implementations may be annotated with `default`
745745
0 commit comments