about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2024-02-21 08:55:58 +0000
committerGitHub <noreply@github.com>2024-02-21 08:55:58 +0000
commite10b3b88b4553f70b25c69403e69ea75d93215bb (patch)
tree15307736dba20fc1a3e94f8f9ab84199db4efbf5 /compiler/rustc_codegen_llvm
parent4a205bba5eb4ca3e17fd920015a8d95001511bc7 (diff)
parent4d386d9f049da498b5f072b6c358a6fbbe0baf59 (diff)
downloadrust-e10b3b88b4553f70b25c69403e69ea75d93215bb.tar.gz
rust-e10b3b88b4553f70b25c69403e69ea75d93215bb.zip
Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons_suggestion, r=Nadrieril
Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect

In certain cases like #121330, it is possible to have more than one suggestion from the `ambiguous_wide_pointer_comparisons` lint (which before this PR are `MachineApplicable`). When this gets passed to rustfix, rustfix makes *multiple* changes according to the suggestions which result in incorrect code.

This is a temporary workaround. The real long term solution to problems like these is to address <https://github.com/rust-lang/rust/issues/53934>.

This PR also includes a drive-by edit to the panic message emitted by compiletest because "ui" test suite now uses `//`@`` directives.

Fixes #121330.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions