External Publication
Visit Post

[Pre-pre-RFC] "splatting" for named arguments and function overloading

Rust Internals [Unofficial] February 14, 2026
Source

Indeed, this is purely for the call site. Your example makes me realize that this should allow more than just idents after .. (and thus ..expr is not at all ok because it's a valid pattern, so gotta switch to ...):

fn method(...MethodArgs {a, b, c}: MethodArgs)

Discussion in the ATmosphere

Loading comments...