]> git.lizzy.rs Git - rust.git/commit
Auto merge of #102091 - RalfJung:const_err, r=oli-obk
authorbors <bors@rust-lang.org>
Fri, 7 Oct 2022 20:50:51 +0000 (20:50 +0000)
committerbors <bors@rust-lang.org>
Fri, 7 Oct 2022 20:50:51 +0000 (20:50 +0000)
commit7c372cda3ad366d1e6fe78815d3dbe99e85670c9
tree3c45a8d80e02aca933d7891a8af4a63bbd9cd62a
parent6819e85501348c6fab3c5d40d0e31d5c7d00bb6a
parente91746ed8271850de512fb765a21aa5ddb18a25c
Auto merge of #102091 - RalfJung:const_err, r=oli-obk

make const_err a hard error

This lint has been deny-by-default with future incompat wording since [Rust 1.51](https://github.com/rust-lang/rust/pull/80394) and the stable release of this week starts showing it in cargo's future compat reports. I can't wait to finally get rid of at least some of the mess in our const-err-reporting-code. ;)

r? `@oli-obk`
Fixes https://github.com/rust-lang/rust/issues/71800
Fixes https://github.com/rust-lang/rust/issues/100114