Skip to content

Commit

Permalink
const fns can read constants that invoke unstable const fns
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Dec 3, 2019
1 parent 1f20b4d commit d9cca74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ty/constness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub fn provide(providers: &mut Providers<'_>) {
// 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
Expand Down

0 comments on commit d9cca74

Please sign in to comment.