query_name_of_opt_const_arg -> query_name_opt_const_arg
This commit is contained in:
parent
536674fb69
commit
8160bfa39c
6 changed files with 10 additions and 10 deletions
|
@ -2953,7 +2953,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
/// Returns the possibly-auto-generated MIR of a `(DefId, Subst)` pair.
|
||||
pub fn instance_mir(self, instance: ty::InstanceDef<'tcx>) -> &'tcx Body<'tcx> {
|
||||
match instance {
|
||||
ty::InstanceDef::Item(def) => self.optimized_mir_of_opt_const_arg(def),
|
||||
ty::InstanceDef::Item(def) => self.optimized_mir_opt_const_arg(def),
|
||||
ty::InstanceDef::VtableShim(..)
|
||||
| ty::InstanceDef::ReifyShim(..)
|
||||
| ty::InstanceDef::Intrinsic(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue