rust/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs

17 lines
304 B
Rust
Raw Normal View History

2020-08-12 07:52:37 -05:00
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 {}