Skip to content

expect expr: Test what happens with a spurious trailing comma

Ian Jackson requested to merge expr-extra-comma into main

In theory the (compile_error!, include!) construct might produce (compile_error!, 1,) which wouldn't be a syntax error, but Rust lints for this.

This is good, because it's difficult otherwise to construct a simple context in which precisely one expression is required.

Merge request reports