aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs
blob: 6d27a082cb3670e68cd9f5035ebedf97451e98d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
async fn foo() {}
extern fn foo() {}
const fn foo() {}
const unsafe fn foo() {}
unsafe extern "C" fn foo() {}
unsafe fn foo() {}
async unsafe fn foo() {}
const unsafe fn bar() {}

unsafe trait T {}
auto trait T {}
unsafe auto trait T {}

unsafe impl Foo {}
default impl Foo {}
unsafe default impl Foo {}

unsafe extern "C++" {}