(instance: &Instance<'tcx>, tcx: TyCtxt<'tcx>)
| 209 | } |
| 210 | |
| 211 | fn skip_detecting<'tcx>(instance: &Instance<'tcx>, tcx: TyCtxt<'tcx>) -> bool { |
| 212 | if let InstanceKind::Item(_) = instance.def { |
| 213 | !tcx.is_mir_available(instance.def_id()) |
| 214 | } else { |
| 215 | true |
| 216 | } |
| 217 | } |