about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/target/unsafe-binders.rs
blob: d52dc55951966bc011f8f79606777671e948c062 (plain)
1
2
3
4
5
6
7
8
9
10
11
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<> () {}