about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-18 23:17:40 +0000
committerbors <bors@rust-lang.org>2021-06-18 23:17:40 +0000
commitec57c60c50de4f601a5dbe80e663388058e6e527 (patch)
tree05064edbf0fb33820d9b59683fae0ce879322285 /compiler/rustc_codegen_llvm/src/lib.rs
parentce1d5611a28468663e275078649e7ca6eef735a8 (diff)
parent7475661678359a081f8a66cd35f3b3993cf788ba (diff)
downloadrust-ec57c60c50de4f601a5dbe80e663388058e6e527.tar.gz
rust-ec57c60c50de4f601a5dbe80e663388058e6e527.zip
Auto merge of #86194 - RalfJung:const-ub-hard-error, r=oli-obk
make UB during CTFE a hard error

This is a next step for https://github.com/rust-lang/rust/issues/71800. `const_err` has been a future-incompatibility lint for 4 months now since https://github.com/rust-lang/rust/pull/80394 (and err-by-default for many years before that), so I think we could try making it a proper hard error at least in some situations.

I didn't yet adjust the tests, since I first want to gauge the fall-out via crater.
Cc `@rust-lang/wg-const-eval`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions