You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
Reverse-turbofish paths like <_>::default are currently known as qualified paths, or QPaths. I've always found this terminology pretty confusing, because a type doesn't seem like a more qualifierer qualifier than crate:: or super::. I wonder if there's a better name for this production... Or are other folks happy with this naming?
The text was updated successfully, but these errors were encountered:
They're called type-qualified paths, the turbofish name is entirely unofficial.
And yes, a type is far more significant than just a path keyword.
The type isn't a namespace in a type-qualified path, it's the type to search for an associated item on. And such a path is resolved during/after type inference, as opposed to during name resolution.
Reverse-turbofish paths like
<_>::default
are currently known as qualified paths, or QPaths. I've always found this terminology pretty confusing, because atype
doesn't seem like a more qualifierer qualifier thancrate::
orsuper::
. I wonder if there's a better name for this production... Or are other folks happy with this naming?The text was updated successfully, but these errors were encountered: