]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-945.rs
Rollup merge of #84048 - konan8205:master, r=jsha
[rust.git] / src / tools / rustfmt / tests / target / issue-945.rs
1 impl Bar {
2     default const unsafe fn foo() {
3         "hi"
4     }
5 }
6
7 impl Baz {
8     default unsafe extern "C" fn foo() {
9         "hi"
10     }
11 }
12
13 impl Foo for Bar {
14     default fn foo() {
15         "hi"
16     }
17 }