We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe37ddb commit 5d69ca5Copy full SHA for 5d69ca5
clippy_lints/src/utils/attrs.rs
@@ -80,7 +80,7 @@ pub fn get_attr<'a>(
80
},
81
|deprecation_status| {
82
let mut diag =
83
- sess.struct_span_err(attr_segments[1].ident.span, "Usage of deprecated attribute");
+ sess.struct_span_err(attr_segments[1].ident.span, "usage of deprecated attribute");
84
match *deprecation_status {
85
DeprecationStatus::Deprecated => {
86
diag.emit();
tests/ui/renamed_builtin_attr.stderr
@@ -1,4 +1,4 @@
1
-error: Usage of deprecated attribute
+error: usage of deprecated attribute
2
--> $DIR/renamed_builtin_attr.rs:3:11
3
|
4
LL | #[clippy::cyclomatic_complexity = "1"]
0 commit comments