Error message shows type of private field #57320
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The code below yields two errors:
<type of private field>
instead ofbool
This means a user can observe the type of a private field of a dependency in their error messages. It doesn't mean they can actually use that information, but it seems weird at least.
Is this actually an issue? If you don't consider it one, feel free to close this.
playground
(originally seen on reddit)
The text was updated successfully, but these errors were encountered: