about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-26 17:56:25 -0600
committerGitHub <noreply@github.com>2019-11-26 17:56:25 -0600
commit8547ea32db4a6f2c5b27827b30f372859de22fbb (patch)
tree037952914f0ba47a34c90d43be9c92c19e940e7e /src/liballoc/alloc
parent7f166e44ff187b517342a5ace95665743b2d222f (diff)
parenta626bf68b882d41dc608692dc52b2a9fb06bff26 (diff)
downloadrust-8547ea32db4a6f2c5b27827b30f372859de22fbb.tar.gz
rust-8547ea32db4a6f2c5b27827b30f372859de22fbb.zip
Rollup merge of #66788 - ecstatic-morse:const-fn-unreachable, r=Centril
Allow `Unreachable` terminators through `min_const_fn` checks

Resolves #66756.

This allows `Unreachable` terminators through the `min_const_fn` checks if `#![feature(const_if_match)]` is enabled. We could probably just allow them with no feature flag, but it seems okay to be conservative here.

r? @oli-obk
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions