forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP lint reasons with unused-attributes for empty lint attrs
I can't figure out why the first empty lint attr. warning is getting emitted twice; I could hack around it with one-time-diagnostics, but I'd rather not duct-tape over my lack of understanding INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(56), hi: BytePos(66), ctxt: #0 }], span_labels: [] }) INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(121), hi: BytePos(167), ctxt: #0 }], span_labels: [] }) INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(222), hi: BytePos(231), ctxt: #0 }], span_labels: [] }) INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(56), hi: BytePos(66), ctxt: #0 }], span_labels: [] }) INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(121), hi: BytePos(167), ctxt: #0 }], span_labels: [] }) INFO 2018-10-16T05:40:37Z: rustc::lint::levels: ZMD C empty-attr being called on Deny Node(unused_attributes, Span { lo: BytePos(35), hi: BytePos(52), ctxt: #0 }, None) Some(MultiSpan { primary_spans: [Span { lo: BytePos(222), hi: BytePos(231), ctxt: #0 }], span_labels: [] })
- Loading branch information
1 parent
0ddf461
commit 0c6af84
Showing
5 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters