about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-28 12:09:50 +0000
committerbors <bors@rust-lang.org>2021-01-28 12:09:50 +0000
commit643a79af3d5a31fa87c8a4c9d7f8bc4ebe2add4b (patch)
treef0f8524b6fcb838e1d6729926c48d7b37502c787 /compiler/rustc_codegen_llvm/src
parent0e190206e2ff0c13d64701d9b4145bf89a2d0cab (diff)
parentdea8a16af55e319a41e9451959c68d7a24fcdc5a (diff)
downloadrust-643a79af3d5a31fa87c8a4c9d7f8bc4ebe2add4b.tar.gz
rust-643a79af3d5a31fa87c8a4c9d7f8bc4ebe2add4b.zip
Auto merge of #81149 - Aaron1011:feature/better-no-method-found-err, r=estebank
Avoid describing a method as 'not found' when bounds are unsatisfied

Fixes #76267

When there is a single applicable method candidate, but its trait bounds
are not satisfied, we avoid saying that the method is "not found".
Insted, we update the error message to directly mention which bounds are
not satisfied, rather than mentioning them in a note.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions