blob: 45e2c428242d630ec450d776c796191aee2ae951 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | error: `default` is not followed by an item
  --> $DIR/impl-parsing-2.rs:3:1
   |
LL | default unsafe FAIL
   | ^^^^^^^ the `default` qualifier
   |
   = note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
error: expected item, found keyword `unsafe`
  --> $DIR/impl-parsing-2.rs:3:9
   |
LL | default unsafe FAIL
   |         ^^^^^^ expected item
   |
   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
error: aborting due to 2 previous errors
 |