fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
332 B11 linesraw
1error: expected one of `::`, `;`, or `as`, found `{`
2  --> $DIR/import-prefix-macro-1.rs:11:27
3   |
4LL |     ($p: path) => (use $p {S, Z});
5   |                           ^^^^^^ expected one of `::`, `;`, or `as`
6...
7LL | import! { a::b::c }
8   | ------------------- in this macro invocation
9
10error: aborting due to previous error
11