about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-24 23:52:27 +0000
committerbors <bors@rust-lang.org>2025-08-24 23:52:27 +0000
commita1dbb443527bd126452875eb5d5860c1d001d761 (patch)
tree0671ee66b1d9e3acdc234cf5be5a7eea7caf9e1b /compiler/rustc_codegen_llvm/src
parent809200ec956983fce4ae178b87dada69f01d0820 (diff)
parentc2b9a8afa9674f473ac78bc0fad76b18c78b7667 (diff)
downloadrust-a1dbb443527bd126452875eb5d5860c1d001d761.tar.gz
rust-a1dbb443527bd126452875eb5d5860c1d001d761.zip
Auto merge of #145262 - compiler-errors:prefer-only-param, r=lcnr
Make sure to treat only param where clauses as inherent

See the description in the test file.

This PR fixes a bug introduced by rust-lang/rust#141333, where we considered non-`Param` where clauses to be "inherent" for the purpose of method probing, which leads to both changes in method ambiguity (see test) and also import usage linting (and thus fixes https://github.com/rust-lang/rust/issues/145185).

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