unknown: make lint adhere to lint message convention

This commit is contained in:
Matthias Krüger 2020-07-23 23:37:16 +02:00
parent b36a6c9594
commit 7954c22a99
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ pub fn get_attr<'a>(
})
.map_or_else(
|| {
sess.span_err(attr_segments[1].ident.span, "Usage of unknown attribute");
sess.span_err(attr_segments[1].ident.span, "usage of unknown attribute");
false
},
|deprecation_status| {

View File

@ -1,4 +1,4 @@
error: Usage of unknown attribute
error: usage of unknown attribute
--> $DIR/unknown_attribute.rs:1:11
|
LL | #[clippy::unknown]