Files
rust/tests/ui/generic-associated-types
albab-hasan c4c6569436 mention the opaque when its hidden type cannot be inferred
when the hidden type of an opaque was never constrained, typeck reported
E0282 with only the shared cannot infer type label. nothing in the output
said an opaque was involved, so the error read like an ordinary local
inference failure.

the unconstrained hidden type arm now adds a note naming the opaque as the
source of the ambiguity.

fixes https://github.com/rust-lang/rust/issues/146231
2026-09-02 12:18:39 +06:00
..
2026-06-28 03:48:49 -05:00