update explicit impls error msg
This commit is contained in:
parent
d35d972e69
commit
79c3011d9d
3 changed files with 10 additions and 10 deletions
|
@ -57,7 +57,7 @@ fn enforce_trait_manually_implementable(
|
|||
E0322,
|
||||
"explicit impls for the `Pointee` trait are not permitted"
|
||||
)
|
||||
.span_label(span, "impl of 'Pointee' not allowed")
|
||||
.span_label(span, "impl of `Pointee` not allowed")
|
||||
.emit();
|
||||
return;
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ fn enforce_trait_manually_implementable(
|
|||
E0322,
|
||||
"explicit impls for the `DiscriminantKind` trait are not permitted"
|
||||
)
|
||||
.span_label(span, "impl of 'DiscriminantKind' not allowed")
|
||||
.span_label(span, "impl of `DiscriminantKind` not allowed")
|
||||
.emit();
|
||||
return;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ fn enforce_trait_manually_implementable(
|
|||
E0322,
|
||||
"explicit impls for the `Sized` trait are not permitted"
|
||||
)
|
||||
.span_label(span, "impl of 'Sized' not allowed")
|
||||
.span_label(span, "impl of `Sized` not allowed")
|
||||
.emit();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue