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 }}
Repository navigation
Document association of generic arguments in path segments #2275
They're meant to be equivalent. Historically speaking, E::V1::<i32> was the original form and E::<i32>::V1 came second (but the details are slightly more messy). Years ago, some people advocated for deprecating one of the two forms but nothing ended up happening.
Activity
fmease commentedon May 30, 2026
They're meant to be equivalent. Historically speaking,
E::V1::<i32>was the original form andE::<i32>::V1came second (but the details are slightly more messy). Years ago, some people advocated for deprecating one of the two forms but nothing ended up happening.rust-lang/rust#154962 is only one example of a gross bug related to the "
E::<…>::Vform", rust-lang/rust#108224 is another one that I also fixed recently (in rust-lang/rust#154918).