summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/unsafe-binders.rs
blob: ccf7c8bb9afa338d39b5afa512a0938debecddc3 (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 () {}