@Lukas Wirth looks like self. is missclassified as a module here
There's no self parameter
yes, but it thinks that
self. is a module, and highlights the whole file :rofl:
Maybe it tries to tell me that I am overdoing unsafe here...
I'll take a look at that :big_smile:
What should it be classified as instead though, unresolved reference? Technically self refers to a module there since there is no self param. At least rustc thinks so as well in this erroneous case.
I think it should see that
self.x is invalid for things in the type namespace and filter out all types (including modules)