Practice diagnostic message convention

This commit is contained in:
Hirochika Matsumoto 2021-10-03 15:53:02 +09:00
parent 77f1e504a9
commit 3818981ca1
63 changed files with 167 additions and 168 deletions

View file

@ -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)