File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
branches/try/src/librustc_lint Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 38e97b99a6b133cb4c621c68e75b28abc6c617c1
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
- refs/heads/try: 57e0248d34733a94d7e341c0e5df594c84499932
5
+ refs/heads/try: 2a37f7f07ca6bc3e3f19c6bb33b25bbc35f561a2
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -656,6 +656,7 @@ impl LintPass for UnusedAttributes {
656
656
}
657
657
658
658
fn check_attribute ( & mut self , cx : & Context , attr : & ast:: Attribute ) {
659
+ // Note that check_name() marks the attribute as used if it matches.
659
660
for & ( ref name, ty) in KNOWN_ATTRIBUTES {
660
661
match ty {
661
662
AttributeType :: Whitelisted
You can’t perform that action at this time.
0 commit comments