We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277cb26 commit 7da1bfcCopy full SHA for 7da1bfc
src/mir.rs
@@ -71,7 +71,7 @@ fn remap_mir_for_const_eval_select<'tcx>(
71
fn_span,
72
..
73
} if let ty::FnDef(def_id, _) = *const_.ty().kind()
74
- && matches!(tcx.intrinsic(def_id), Some(sym::const_eval_select)) =>
+ && tcx.is_intrinsic(def_id, sym::const_eval_select) =>
75
{
76
let [tupled_args, called_in_const, called_at_rt]: [_; 3] =
77
std::mem::take(args).try_into().unwrap();
0 commit comments