summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/generic-associated-types/issue-94683.rs
blob: 985c7e983aa0ef71e1c5ac47729f388113b77578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_name = "foo"]

pub trait Trait {
    type Gat<'a>;
}

// Make sure that the elided lifetime shows up

// @has foo/type.T.html
// @hasraw - "pub type T = "
// @hasraw - "&lt;'_&gt;"
pub type T = fn(&<() as Trait>::Gat<'_>);