File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
branches/tmp/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 @@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 57e0248d34733a94d7e341c0e5df594c84499932
37
+ refs/heads/tmp: 2a37f7f07ca6bc3e3f19c6bb33b25bbc35f561a2
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
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