mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Comment nit
This commit is contained in:
parent
db90150b91
commit
680c4022ae
@ -3016,8 +3016,8 @@ impl<'tcx> TyCtxt<'tcx> {
|
||||
| DefKind::AssocConst
|
||||
| DefKind::Ctor(..)
|
||||
| DefKind::AnonConst => self.mir_for_ctfe_opt_const_arg(def),
|
||||
// If the caller wants `mir_for_ctfe` they should not be using `instance_mir`, so
|
||||
// we'll assume const fn also wants the optimized version.
|
||||
// If the caller wants `mir_for_ctfe` of a function they should not be using
|
||||
// `instance_mir`, so we'll assume const fn also wants the optimized version.
|
||||
_ => self.optimized_mir_or_const_arg_mir(def),
|
||||
},
|
||||
ty::InstanceDef::VtableShim(..)
|
||||
|
Loading…
Reference in New Issue
Block a user