Skip to content

Commit d9cca74

Browse files
committed
const fns can read constants that invoke unstable const fns
1 parent 1f20b4d commit d9cca74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/constness.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub fn provide(providers: &mut Providers<'_>) {
116116
// This whitelist is a list of intrinsics that have a miri-engine implementation
117117
// and can thus be called when enabling enough feature gates. The similar
118118
// whitelist in `is_intrinsic_min_const_fn` (in this file), exists for allowing
119-
// the intrinsics to be transitively called by stable const fns.
119+
// the intrinsics to be called by stable const fns.
120120
| sym::caller_location
121121

122122
| sym::min_align_of

0 commit comments

Comments
 (0)