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