2020-02-23 05:54:00 -06:00
|
|
|
error: `default` is not followed by an item
|
2020-02-21 21:53:02 -06:00
|
|
|
--> $DIR/default-unmatched.rs:3:5
|
|
|
|
|
|
|
|
|
LL | default do
|
2020-02-22 21:49:26 -06:00
|
|
|
| ^^^^^^^ the `default` qualifier
|
|
|
|
|
|
|
|
|
= note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
|
2020-02-21 21:53:02 -06:00
|
|
|
|
|
|
|
error: expected item, found reserved keyword `do`
|
|
|
|
--> $DIR/default-unmatched.rs:3:13
|
|
|
|
|
|
|
|
|
LL | default do
|
|
|
|
| ^^ expected item
|
2023-09-05 22:35:07 -05:00
|
|
|
|
|
|
|
|
= note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
|
2020-02-21 21:53:02 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|