summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-945.rs
blob: 37d703c4679f826122dc0edc45ffc59785662b66 (plain)
1
2
3
4
5
impl Bar { default const unsafe fn foo() { "hi" } }

impl Baz { default unsafe extern "C" fn foo() { "hi" } }

impl Foo for Bar { default fn foo() { "hi" } }