fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
425 B16 linesraw
1error: `default` is not followed by an item
2  --> $DIR/default-unmatched.rs:3:5
3   |
4LL |     default do
5   |     ^^^^^^^ the `default` qualifier
6   |
7   = note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
8
9error: expected item, found reserved keyword `do`
10  --> $DIR/default-unmatched.rs:3:13
11   |
12LL |     default do
13   |             ^^ expected item
14
15error: aborting due to 2 previous errors
16