unknown: make lint adhere to lint message convention
This commit is contained in:
parent
b36a6c9594
commit
7954c22a99
@ -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| {
|
||||
|
@ -1,4 +1,4 @@
|
||||
error: Usage of unknown attribute
|
||||
error: usage of unknown attribute
|
||||
--> $DIR/unknown_attribute.rs:1:11
|
||||
|
|
||||
LL | #[clippy::unknown]
|
||||
|
Loading…
Reference in New Issue
Block a user