Fix rebase fallout

This commit is contained in:
Aaron Hill 2019-11-06 13:47:40 -05:00
parent 2ed1e89706
commit 68d9853985
No known key found for this signature in database
GPG Key ID: B4087E510E98B164

View File

@ -101,7 +101,7 @@ pub fn emulate_intrinsic(
Some(dest) => dest,
None => throw_ub!(Unreachable)
};
let intrinsic_name = &self.tcx.item_name(instance.def_id()).as_str();
let intrinsic_name = &*self.tcx.item_name(instance.def_id()).as_str();
match intrinsic_name {
"caller_location" => {