Skip to content

Commit d6fb06d

Browse files
committed
---
yaml --- r: 188127 b: refs/heads/try c: 2a37f7f h: refs/heads/master i: 188125: 6371104 188123: f1f404e 188119: 26a47b2 188111: fcc3bde 188095: 3bb9240 v: v3
1 parent b1a615d commit d6fb06d

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 38e97b99a6b133cb4c621c68e75b28abc6c617c1
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: 57e0248d34733a94d7e341c0e5df594c84499932
5+
refs/heads/try: 2a37f7f07ca6bc3e3f19c6bb33b25bbc35f561a2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)