fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: invalid `struct` delimiters or `fn` call arguments 2 --> $DIR/issue-44406.rs:3:9 3 | 4LL | bar(baz: $rest) 5 | ^^^^^^^^^^^^^^^ 6... 7LL | foo!(true); 8 | ---------- in this macro invocation 9 | 10 = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) 11help: if `bar` is a struct, use braces as delimiters 12 | 13LL | bar { baz: $rest } 14 | ~ ~ 15help: if `bar` is a function, use the arguments directly 16 | 17LL - bar(baz: $rest) 18LL + bar(: $rest) 19 | 20 21error: aborting due to previous error 22