about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-08 00:04:14 +0000
committerbors <bors@rust-lang.org>2024-02-08 00:04:14 +0000
commit6894f435d35d3d540dcefbc51390158ca5954861 (patch)
treec0802941ad490ac73ba7e2043da80e0a01f84326 /compiler/rustc_parse/src
parent8ace7ea1f7cbba7b4f031e66c54ca237a0d65de6 (diff)
parent74dbf3a070adac13f28f39e2d447b0148998cc40 (diff)
downloadrust-6894f435d35d3d540dcefbc51390158ca5954861.tar.gz
rust-6894f435d35d3d540dcefbc51390158ca5954861.zip
Auto merge of #120381 - fee1-dead-contrib:reconstify-add, r=compiler-errors
Reconstify `Add`

r? project-const-traits

I'm not happy with the ui test changes (or failures because I did not bless them and include the diffs in this PR). There is at least some bugs I need to look and try fix:

1. A third duplicated diagnostic when a consumer crate that does not have `effects` enabled has a trait selection error for an upstream const_trait trait. See tests/ui/ufcs/ufcs-qpath-self-mismatch.rs.
2. For some reason, making `Add` a const trait would stop us from suggesting `T: Add` when we try to add two `T`s without that bound. See tests/ui/suggestions/issue-97677.rs
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions