diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-10-05 02:29:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-05 02:29:40 +0200 |
| commit | 5fbb41108a14b74645296f64cc78ba05aea9ca18 (patch) | |
| tree | a2e16b90faac32c6dd1184600ff9ae6d489474e0 /compiler/rustc_codegen_llvm/src | |
| parent | 23b1e3d77290265c72566b4dabff39384a330b60 (diff) | |
| parent | 6ae1da3198bd2d110652900082800e01a8e37149 (diff) | |
| download | rust-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
