const fns can read constants that invoke unstable const fns
This commit is contained in:
parent
1f20b4dc19
commit
d9cca74ffc
@ -116,7 +116,7 @@ fn is_const_intrinsic(tcx: TyCtxt<'_>, def_id: DefId) -> Option<bool> {
|
||||
// This whitelist is a list of intrinsics that have a miri-engine implementation
|
||||
// and can thus be called when enabling enough feature gates. The similar
|
||||
// whitelist in `is_intrinsic_min_const_fn` (in this file), exists for allowing
|
||||
// the intrinsics to be transitively called by stable const fns.
|
||||
// the intrinsics to be called by stable const fns.
|
||||
| sym::caller_location
|
||||
|
||||
| sym::min_align_of
|
||||
|
Loading…
Reference in New Issue
Block a user