Typo MaybeUnint
doesn't suggest MaybeUninit
#95462
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.
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=3868d05aad2cfb9e962511b364e05077
The current output is:
Ideally the output should look something like:
Similar to how there's a suggestion when I typo the method name instead:
I can understand that searching the entire universe of paths on resolution might not be worth doing, but hopefully things that are
use
d could be done reasonably, or something similar.(That said, once it's already
use
d it's also true that I'm in much less need of the help.)The text was updated successfully, but these errors were encountered: