Skip to content

Commit 07a1e5d

Browse files
committed
---
yaml --- r: 187951 b: refs/heads/tmp c: 2a37f7f h: refs/heads/master i: 187949: f5be1b1 187947: 0a21af5 187943: 91251ee 187935: bdccd4e v: v3
1 parent 2ab7730 commit 07a1e5d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 57e0248d34733a94d7e341c0e5df594c84499932
37+
refs/heads/tmp: 2a37f7f07ca6bc3e3f19c6bb33b25bbc35f561a2
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/tmp/src/librustc_lint/builtin.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ impl LintPass for UnusedAttributes {
656656
}
657657

658658
fn check_attribute(&mut self, cx: &Context, attr: &ast::Attribute) {
659+
// Note that check_name() marks the attribute as used if it matches.
659660
for &(ref name, ty) in KNOWN_ATTRIBUTES {
660661
match ty {
661662
AttributeType::Whitelisted

0 commit comments

Comments
 (0)