Skip to content

Commit 8396b55

Browse files
committed
---
yaml --- r: 172875 b: refs/heads/try c: 84df136 h: refs/heads/master i: 172873: e584cf7 172871: 14ec49b v: v3
1 parent 1b2bfed commit 8396b55

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 170c4399e614fe599c3d41306b3429ca8b3b68c6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 7029a64e66837f811142f6894a789a539ffe5d3a
5+
refs/heads/try: 84df136d407db45ecd143569cf0cf84a4b8cb596
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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,
@@ -434,19 +433,6 @@ mod svh_visitor {
434433
SawStmt(saw_stmt(&s.node)).hash(self.st); visit::walk_stmt(self, s)
435434
}
436435

437-
fn visit_view_item(&mut self, i: &ViewItem) {
438-
// Two kinds of view items can affect the ABI for a crate:
439-
// exported `pub use` view items (since that may expose
440-
// items that downstream crates can call), and `use
441-
// foo::Trait`, since changing that may affect method
442-
// resolution.
443-
//
444-
// The simplest approach to handling both of the above is
445-
// just to adopt the same simple-minded (fine-grained)
446-
// hash that I am deploying elsewhere here.
447-
SawViewItem.hash(self.st); visit::walk_view_item(self, i)
448-
}
449-
450436
fn visit_foreign_item(&mut self, i: &ForeignItem) {
451437
// FIXME (#14132) ideally we would incorporate privacy (or
452438
// perhaps reachability) somewhere here, so foreign items

0 commit comments

Comments
 (0)