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

19 lines
328 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 {}
2020-11-22 22:43:00 -06:00
unsafe extern "C++" {}