diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2024-02-21 08:55:58 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 08:55:58 +0000 |
| commit | e10b3b88b4553f70b25c69403e69ea75d93215bb (patch) | |
| tree | 15307736dba20fc1a3e94f8f9ab84199db4efbf5 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 4a205bba5eb4ca3e17fd920015a8d95001511bc7 (diff) | |
| parent | 4d386d9f049da498b5f072b6c358a6fbbe0baf59 (diff) | |
| download | rust-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/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
