about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-03 21:52:44 +0200
committerGitHub <noreply@github.com>2024-10-03 21:52:44 +0200
commit0d65f121a12935c4d827143caab7d46790a12204 (patch)
tree8dda80a1c5d4951ef3c82e73c93fcb1ca2bddb77 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent56e35a5dbb37898433a43133dff0398f46d577b8 (diff)
parent486440fc7482adf1c57681ffaa34cf9b5fb157eb (diff)
downloadrust-0d65f121a12935c4d827143caab7d46790a12204.tar.gz
rust-0d65f121a12935c4d827143caab7d46790a12204.zip
Rollup merge of #131024 - compiler-errors:deref-sugg, r=estebank
Don't give method suggestions when method probe fails due to bad implementation of `Deref`

If we have a bad `Deref` impl, we used to bail with `MethodError::NoMatch`, which makes the error reporting code think that there was no applicable method (and thus try to suggest importing something, even if it's in scope).

Suppress this error, which fixes #131003.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions