mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
clean up some const error reporting around promoteds These are some error reporting simplifications enabled by https://github.com/rust-lang/rust/pull/80579. Further simplifications are possible but could be blocked on making `const_err` a hard error. r? ``````@oli-obk``````