Skip to content

Commit 2ce01d6

Browse files
---
yaml --- r: 277839 b: refs/heads/try c: 118cc9e h: refs/heads/master i: 277837: 5cda4b9 277835: 86f985b 277831: 0a89c35 277823: 6f6f663
1 parent 1014b03 commit 2ce01d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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: 00eabcbefab39612a56ef958a213825207697323
4+
refs/heads/try: 118cc9e8e1fd72ea59c44c99a3ef3cc8abf9bbaf
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ impl<'b, 'tcx> CrateContext<'b, 'tcx> {
756756
}
757757

758758
pub fn statics<'a>(&'a self) -> &'a RefCell<FnvHashMap<ValueRef, DefId>> {
759-
&self.local.statics
759+
&self.local().statics
760760
}
761761

762762
pub fn impl_method_cache<'a>(&'a self)

branches/try/src/librustc_trans/mir/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl<'a, 'tcx> MirConstContext<'a, 'tcx> {
233233
let trait_id = trait_item.container().id();
234234
let substs = instance.substs;
235235
let trait_ref = ty::Binder(substs.to_trait_ref(ccx.tcx(), trait_id));
236-
let vtable = common::fulfill_obligation(ccx, DUMMY_SP, trait_ref);
236+
let vtable = common::fulfill_obligation(ccx.shared(), DUMMY_SP, trait_ref);
237237
if let traits::VtableImpl(vtable_impl) = vtable {
238238
let name = ccx.tcx().item_name(instance.def);
239239
for ac in ccx.tcx().associated_consts(vtable_impl.impl_def_id) {

0 commit comments

Comments
 (0)