Error diagnostics for associated items are different with -Z unstable-options
#82637
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code: https://github.com/rust-lang/rust/blob/573a697a6197abaad5a2d7208dbf1bbc77f4dcf3/src/test/ui/associated-types/defaults-cyclic-fail-1.rs
I expected to see this happen: The error output is the same with and without -Z unstable-options
Instead, this happened: -Z unstable-options reports more errors than without.
There are similar issues with other errors related to associated items; see 3205303 for details.
cc @matthewjasper - do you have any idea what's going on here?
The text was updated successfully, but these errors were encountered: