diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-22 12:16:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-22 12:16:33 +0100 |
| commit | 396910a66473b6891983b778621dfbd3ac1593b4 (patch) | |
| tree | f5268bed91485d4cb63ee10ba2d602faff088d7f /compiler/rustc_serialize/src | |
| parent | b322382893edd96eed2c59c9d1297fbe9ffdcb69 (diff) | |
| parent | 0626919f21a82b9bbe8d20e3e5e98b9cfd76015e (diff) | |
| download | rust-396910a66473b6891983b778621dfbd3ac1593b4.tar.gz rust-396910a66473b6891983b778621dfbd3ac1593b4.zip | |
Rollup merge of #94237 - compiler-errors:dont-wrap-ambiguous-receivers, r=lcnr
Do not suggest wrapping an item if it has ambiguous un-imported methods If the method is defined for the receiver we have, but is ambiguous during probe, then it probably comes from one of several traits that just weren't `use`d. Don't suggest wrapping the receiver in `Box`/etc., even if that makes the method probe unambiguous. Fixes #94218
Diffstat (limited to 'compiler/rustc_serialize/src')
0 files changed, 0 insertions, 0 deletions
