We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
If you have a function like this:
fn foo() -> &a.int
we should report an error. The only thing you could legally do in that case is fail or return a static item, so you miight as well write:
fn foo() -> &static.int
This sounds like a good lint warning/error.