about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorJosh Stone <cuviper@gmail.com>2023-08-17 15:40:09 -0700
committerGitHub <noreply@github.com>2023-08-17 15:40:09 -0700
commit5861815559f93dbd43431756e0256329f18ea47a (patch)
tree1dfd2c564da7e92f65527f813d7547edbb2938f3 /compiler/rustc_llvm/llvm-wrapper
parent7ea4de9632ab0e29e34e5250f367992a0e862519 (diff)
parent1c73248b67167dd18c9bd01bf541f5ea35be66d8 (diff)
downloadrust-5861815559f93dbd43431756e0256329f18ea47a.tar.gz
rust-5861815559f93dbd43431756e0256329f18ea47a.zip
Rollup merge of #114931 - Urgau:revert-114052, r=compiler-errors
Revert PR #114052 to fix invalid suggestion

This PR reverts https://github.com/rust-lang/rust/pull/114052 to fix the invalid suggestion produced by the PR.

Unfortunately the invalid suggestion cannot be improved from the current position where it's emitted since we lack enough information (is an assignment?, left or right?, ...) to be able to fix it here. Furthermore the previous wasn't wrong, just suboptimal, contrary to the current one which is just wrong.

Added a regression test and commented out some code instead of removing it so we can use it later.

Reopens https://github.com/rust-lang/rust/issues/114050
Fixes https://github.com/rust-lang/rust/issues/114925
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions