Don't suggest replacing a field when the fix does not type checks #89166
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Follow-up to #87960 (comment)
Given the following code:
The nightly output includes:
However, ideally, this suggestion shouldn't be present because of
bravo: u8
.The text was updated successfully, but these errors were encountered: