Practice diagnostic message convention
This commit is contained in:
parent
77f1e504a9
commit
3818981ca1
63 changed files with 167 additions and 168 deletions
|
@ -382,7 +382,7 @@ fn should_panic(cx: &ExtCtxt<'_>, i: &ast::Item) -> ShouldPanic {
|
|||
.note(
|
||||
"errors in this attribute were erroneously \
|
||||
allowed and will become a hard error in a \
|
||||
future release.",
|
||||
future release",
|
||||
)
|
||||
.emit();
|
||||
ShouldPanic::Yes(None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue