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 @@ -188,7 +188,6 @@ mod svh_visitor {
188
188
SawLifetimeDef ( token:: InternedString ) ,
189
189
190
190
SawMod ,
191
- SawViewItem ,
192
191
SawForeignItem ,
193
192
SawItem ,
194
193
SawDecl ,
@@ -436,19 +435,6 @@ mod svh_visitor {
436
435
SawStmt ( saw_stmt ( & s. node ) ) . hash ( self . st ) ; visit:: walk_stmt ( self , s)
437
436
}
438
437
439
- fn visit_view_item ( & mut self , i : & ViewItem ) {
440
- // Two kinds of view items can affect the ABI for a crate:
441
- // exported `pub use` view items (since that may expose
442
- // items that downstream crates can call), and `use
443
- // foo::Trait`, since changing that may affect method
444
- // resolution.
445
- //
446
- // The simplest approach to handling both of the above is
447
- // just to adopt the same simple-minded (fine-grained)
448
- // hash that I am deploying elsewhere here.
449
- SawViewItem . hash ( self . st ) ; visit:: walk_view_item ( self , i)
450
- }
451
-
452
438
fn visit_foreign_item ( & mut self , i : & ForeignItem ) {
453
439
// FIXME (#14132) ideally we would incorporate privacy (or
454
440
// perhaps reachability) somewhere here, so foreign items
You can’t perform that action at this time.
0 commit comments