Skip to content

Commit be47fae

Browse files
committed
build with latest version
1 parent 2602569 commit be47fae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7c71bc3208031b1307573de45a3b3e18fa45787a
1+
d595b113584f8f446957469951fd5d31adc2a44e

src/helpers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ pub trait EvalContextExt<'a, 'mir, 'tcx: 'a + 'mir>: crate::MiriEvalContextExt<'
2727
for item in mem::replace(&mut items, Default::default()).iter() {
2828
if item.ident.name == *segment {
2929
if path_it.peek().is_none() {
30-
return Some(ty::Instance::mono(this.tcx.tcx, item.def.def_id()));
30+
return Some(ty::Instance::mono(this.tcx.tcx, item.res.def_id()));
3131
}
3232

33-
items = this.tcx.item_children(item.def.def_id());
33+
items = this.tcx.item_children(item.res.def_id());
3434
break;
3535
}
3636
}

0 commit comments

Comments
 (0)