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 5fee840 commit 819fa6fCopy full SHA for 819fa6f
declare_clippy_lint/src/lib.rs
@@ -156,7 +156,7 @@ pub fn declare_clippy_lint(input: TokenStream) -> TokenStream {
156
let category_variant = format_ident!("{category}");
157
158
let name_span = name.span().unwrap();
159
- let location = format!("{}#{}", name_span.source_file().path().display(), name_span.line());
+ let location = format!("{}#L{}", name_span.source_file().path().display(), name_span.line());
160
161
let version = match version {
162
Some(version) => quote!(Some(#version)),
0 commit comments