rust/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs
2020-11-22 20:44:56 -08:00

19 lines
328 B
Rust

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++" {}