Pre-RFC: Disallow using assignment in a function call in Rust 2018 (disallow `f(a=b)`)

I think I like this one best, since it feels like it'd have fewer edge cases (I have no idea what tokens vs not tokens are supposed to mean for macros here, for example), and one can easily turn the a = b statement into an expression as { a = b }.

3 Likes