aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs
blob: 8d697c04b9572f7e6395e46f3e58f4b2cd2281aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 {}