If anybody wants a freebie for the underhanded Rust competitionhttps://gist.github.com/sgrif/729ac365c84244749b6977263ae9f7a3 …
-
-
I'd have assumed that the rule is that glob imports can't shadow anything, welp
1 reply 0 retweets 0 likes -
They usually can't. This is one dangerous exception (which is likely a bug)
1 reply 0 retweets 0 likes -
I expect explicit names only have priority over globs at the same level, not closer ones :/
1 reply 0 retweets 0 likes
Shadowing like this is a compiler error in all other contexts e.g. if you move the `use` out of the `fn`
2:57 PM - 17 Mar 2017
from Ottawa - Gatineau
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.