about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/unsafe-binders.rs
blob: 2f43af54d20435c0b187d36708d48cceded6cfeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn foo() -> unsafe<'a>
&'a () {}

struct Foo {
    x: unsafe<'a>
&'a (),
}

struct Bar(unsafe<'a> &'a ());

impl Trait for unsafe<'a> &'a () {}

fn empty()
-> unsafe<> () {}