diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-03 21:52:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-03 21:52:44 +0200 |
| commit | 0d65f121a12935c4d827143caab7d46790a12204 (patch) | |
| tree | 8dda80a1c5d4951ef3c82e73c93fcb1ca2bddb77 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 56e35a5dbb37898433a43133dff0398f46d577b8 (diff) | |
| parent | 486440fc7482adf1c57681ffaa34cf9b5fb157eb (diff) | |
| download | rust-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
