about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-11 15:19:33 +0530
committerGitHub <noreply@github.com>2022-07-11 15:19:33 +0530
commit21d6b1fc0e7f0bfd7296445b0ab2d29497b9929d (patch)
tree49b79248453247301e212efab2187a6a95d00f96 /compiler/rustc_parse/src/parser/expr.rs
parent9fc297a2aefe141951994bec9ebd74733fed1623 (diff)
parent680fef4d0455449d2226f8b9a4b266cc5c82ccc0 (diff)
downloadrust-21d6b1fc0e7f0bfd7296445b0ab2d29497b9929d.tar.gz
rust-21d6b1fc0e7f0bfd7296445b0ab2d29497b9929d.zip
Rollup merge of #99147 - compiler-errors:issue-55673, r=lcnr
Mention similarly named associated type even if it's not clearly in supertrait

Due to query cycle avoidance, we sometimes restrict the candidates in `complain_about_assoc_type_not_found` too much so that we can't detect typo replacements from just supertraits.

This creates a more general note of the existence of a similarly named associated type from _all_ visible traits when possible.

Fixes #55673
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions