]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/clippy_lints/src/tabs_in_doc_comments.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / tabs_in_doc_comments.rs
index 6a73b94d87e488ec6feaaa24f2d0119a637438a9..4a67cabf323a6a1489f84d485bce350acc98a8cf 100644 (file)
@@ -69,6 +69,7 @@ impl TabsInDocComments {
                     attr.span.lo() + BytePos(3 + lo),
                     attr.span.lo() + BytePos(3 + hi),
                     attr.span.ctxt(),
+                    attr.span.parent(),
                 );
                 span_lint_and_sugg(
                     cx,