File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: acf9b83e71b6eac23f962315423e9158da0d372e
2
+ refs/heads/master: 3808a498cd93e047e66f6cfe9b55b1fd8f8f1040
Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ type fn_usage_ctx = {
11
11
generic_bare_fn_legal : bool
12
12
} ;
13
13
14
- fn fn_usage_view_item ( _vi : @ast:: view_item ,
15
- _ctx : fn_usage_ctx ,
16
- _v : visit:: vt < fn_usage_ctx > ) {
17
- // Ignore paths that appear in use, import, etc
18
- }
19
-
20
14
fn fn_usage_expr ( expr : @ast:: expr ,
21
15
ctx : fn_usage_ctx ,
22
16
v : visit:: vt < fn_usage_ctx > ) {
@@ -81,8 +75,7 @@ fn fn_usage_expr(expr: @ast::expr,
81
75
fn check_crate_fn_usage ( tcx : ty:: ctxt , crate : @ast:: crate ) {
82
76
let visit =
83
77
visit:: mk_vt (
84
- @{ visit_expr: fn_usage_expr,
85
- visit_view_item: fn_usage_view_item
78
+ @{ visit_expr: fn_usage_expr
86
79
with * visit:: default_visitor ( ) } ) ;
87
80
let ctx = {
88
81
tcx: tcx,
You can’t perform that action at this time.
0 commit comments