Skip to content

Commit 1014b03

Browse files
---
yaml --- r: 277838 b: refs/heads/try c: 00eabcb h: refs/heads/master
1 parent 5cda4b9 commit 1014b03

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
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: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: 86a691a5c7d183bc1e19d53832ea40cf41fa7ccd
4+
refs/heads/try: 00eabcbefab39612a56ef958a213825207697323
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_trans/context.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,7 @@ impl<'tcx> DepTrackingMapConfig for TraitSelectionCache<'tcx> {
183183
type Key = ty::PolyTraitRef<'tcx>;
184184
type Value = traits::Vtable<'tcx, ()>;
185185
fn to_dep_node(key: &ty::PolyTraitRef<'tcx>) -> DepNode<DefId> {
186-
ty::tls::with(|tcx| {
187-
let lifted_key = tcx.lift(key).unwrap();
188-
lifted_key.to_poly_trait_predicate().dep_node()
189-
})
186+
key.to_poly_trait_predicate().dep_node()
190187
}
191188
}
192189

0 commit comments

Comments
 (0)