Oh, forgot that Rust allowed unrelated types and values w/ same name. One of the few things it does worse than C!https://twitter.com/glaebhoerl/status/765678956200820737 …
It used to not allow that, but it was a big pain. (Also C does allow unrelated types and values with the same name—“foo foo;”)
-
-
That only works if the second foo shadows the first foo in a subscope. After that declaration it’s no longer usable as a type.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.