Skip to content

Commit c5359cc

Browse files
committed
---
yaml --- r: 174828 b: refs/heads/snap-stage3 c: e389ab1 h: refs/heads/master v: v3
1 parent bd224ab commit c5359cc

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: a0f86de49748b472d4d189d9688b0d856c000914
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 7cece8725b6a7e12045bdbff257ecec7327654bf
4+
refs/heads/snap-stage3: e389ab18a28b71479be6f24776845cc021767193
55
refs/heads/try: 08f6380a9f0b866796080094f44fe25ea5636547
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc_back/svh.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ mod svh_visitor {
188188
SawLifetimeDef(token::InternedString),
189189

190190
SawMod,
191-
SawViewItem,
192191
SawForeignItem,
193192
SawItem,
194193
SawDecl,
@@ -436,19 +435,6 @@ mod svh_visitor {
436435
SawStmt(saw_stmt(&s.node)).hash(self.st); visit::walk_stmt(self, s)
437436
}
438437

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-
452438
fn visit_foreign_item(&mut self, i: &ForeignItem) {
453439
// FIXME (#14132) ideally we would incorporate privacy (or
454440
// perhaps reachability) somewhere here, so foreign items

0 commit comments

Comments
 (0)