We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
super
use … as …
I would expect super and self to behave the same as other module identifiers in all places.
self
It seems that super is not interpreted before the use … as … module-renaming syntax, resulting in an error about super being undefined:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b06a2575fe28666b4298baa79816448b
The text was updated successfully, but these errors were encountered:
Duplicate of one of these - #37156, #35612, #29036. Yeah, this should work, but the fix is low priority.
Sorry, something went wrong.
No branches or pull requests
Expected behaviour
I would expect
super
andself
to behave the same as other module identifiers in all places.Actual behaviour
It seems that
super
is not interpreted before theuse … as …
module-renaming syntax, resulting in an error aboutsuper
being undefined:https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b06a2575fe28666b4298baa79816448b
The text was updated successfully, but these errors were encountered: