about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-05 02:29:40 +0200
committerGitHub <noreply@github.com>2020-10-05 02:29:40 +0200
commit5fbb41108a14b74645296f64cc78ba05aea9ca18 (patch)
treea2e16b90faac32c6dd1184600ff9ae6d489474e0 /compiler/rustc_codegen_llvm/src
parent23b1e3d77290265c72566b4dabff39384a330b60 (diff)
parent6ae1da3198bd2d110652900082800e01a8e37149 (diff)
downloadrust-5fbb41108a14b74645296f64cc78ba05aea9ca18.tar.gz
rust-5fbb41108a14b74645296f64cc78ba05aea9ca18.zip
Rollup merge of #77512 - ecstatic-morse:const-checking-allow-abort, r=RalfJung
Allow `Abort` terminators in all const-contexts

We never unwind during const-eval, so we basically have these semantics already. Also I just figured out that these only appear along the cleanup path, which doesn't get const-checked. In other words, this doesn't actually change behavior: the `check-pass` test I added compiles just fine on nightly.

r? @RalfJung
cc @rust-lang/wg-const-eval
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions