Import suggestions suggest inserting imports in the wrong place #42835
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
For this kind of error:
We get an error like
Which is good. But if you put this whole example in a submodule and then look at the json error, the suggestion is add the import to the enclosing module, not the submodule, which is incorrect.
cc #42823, @oli-obk
The text was updated successfully, but these errors were encountered: