summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/inline_cross/auxiliary/trait-vis.rs
blob: e5bc7969b5c6c59da0236dd4916500f66a996acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![crate_name = "inner"]

pub struct SomeStruct;

fn asdf() {
    const _FOO: () = {
        impl Clone for SomeStruct {
            fn clone(&self) -> Self {
                SomeStruct
            }
        }
    };
}