]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fn/keyword-order.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / src / test / ui / fn / keyword-order.rs
1 // edition:2018
2
3 default pub const async unsafe extern fn err() {} //~ ERROR `default` is not followed by an item
4 //~^ ERROR expected item, found keyword `pub`
5
6 pub default const async unsafe extern fn ok() {}