File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ mod svh_visitor {
184
184
SawLifetimeDef ( token:: InternedString ) ,
185
185
186
186
SawMod ,
187
- SawViewItem ,
188
187
SawForeignItem ,
189
188
SawItem ,
190
189
SawDecl ,
@@ -430,19 +429,6 @@ mod svh_visitor {
430
429
SawStmt ( saw_stmt ( & s. node ) ) . hash ( self . st ) ; visit:: walk_stmt ( self , s)
431
430
}
432
431
433
- fn visit_view_item ( & mut self , i : & ViewItem ) {
434
- // Two kinds of view items can affect the ABI for a crate:
435
- // exported `pub use` view items (since that may expose
436
- // items that downstream crates can call), and `use
437
- // foo::Trait`, since changing that may affect method
438
- // resolution.
439
- //
440
- // The simplest approach to handling both of the above is
441
- // just to adopt the same simple-minded (fine-grained)
442
- // hash that I am deploying elsewhere here.
443
- SawViewItem . hash ( self . st ) ; visit:: walk_view_item ( self , i)
444
- }
445
-
446
432
fn visit_foreign_item ( & mut self , i : & ForeignItem ) {
447
433
// FIXME (#14132) ideally we would incorporate privacy (or
448
434
// perhaps reachability) somewhere here, so foreign items
You can’t perform that action at this time.
0 commit comments