about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-05 19:53:51 -0800
committerGitHub <noreply@github.com>2025-02-05 19:53:51 -0800
commit736f9025816435c4eb98c2397ec6512d4f2cb94c (patch)
treecddb74cf868a237b64a4b065bfeae5aa6c74d9ae /compiler/rustc_codegen_llvm/src/errors.rs
parentffa67f9c445ac26d2513d8b6be5326dac955800a (diff)
parent4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef (diff)
downloadrust-736f9025816435c4eb98c2397ec6512d4f2cb94c.tar.gz
rust-736f9025816435c4eb98c2397ec6512d4f2cb94c.zip
Rollup merge of #136583 - Jarcho:fn_ctxt2, r=compiler-errors
Only highlight unmatchable parameters at the definition site

Followup to #136497

This generally results more focused messages in the same vein as #99635 (see `test/ui/argument-suggestions/complex.rs`). There are still some cases (e.g. `test/ui/argument-suggestions/permuted_arguments.rs`) where it might be worth highlighting the arguments. This is mitigated by the fact that a suggestion with a suggested rearrangement is given.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions