Skip to content

Commit 2ed9103

Browse files
committed
---
yaml --- r: 232219 b: refs/heads/auto c: 1599c16 h: refs/heads/master i: 232217: c488202 232215: fa65fe3 v: v3
1 parent a74e59d commit 2ed9103

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: c3f53d1b12dfe5e08f98b19e9e3980da116e31ee
11+
refs/heads/auto: 1599c1675fbb30c1f03fe8d292f7e37c4a1e98ac
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/librustc/lint/context.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,11 @@ impl<'a, 'tcx, 'v> hir_visit::Visitor<'v> for LateContext<'a, 'tcx> {
767767
hir_visit::walk_path(self, p);
768768
}
769769

770+
fn visit_path_list_item(&mut self, prefix: &hir::Path, item: &hir::PathListItem) {
771+
run_lints!(self, check_path_list_item, late_passes, item);
772+
hir_visit::walk_path_list_item(self, prefix, item);
773+
}
774+
770775
fn visit_attribute(&mut self, attr: &ast::Attribute) {
771776
run_lints!(self, check_attribute, late_passes, attr);
772777
}
@@ -915,9 +920,9 @@ impl<'a, 'v> ast_visit::Visitor<'v> for EarlyContext<'a> {
915920
ast_visit::walk_path(self, p);
916921
}
917922

918-
fn visit_path_list_item(&mut self, prefix: &hir::Path, item: &hir::PathListItem) {
919-
run_lints!(self, check_path_list_item, item);
920-
visit::walk_path_list_item(self, prefix, item);
923+
fn visit_path_list_item(&mut self, prefix: &ast::Path, item: &ast::PathListItem) {
924+
run_lints!(self, check_path_list_item, early_passes, item);
925+
ast_visit::walk_path_list_item(self, prefix, item);
921926
}
922927

923928
fn visit_attribute(&mut self, attr: &ast::Attribute) {

0 commit comments

Comments
 (0)