summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-9155.rs
blob: 049a96a655a3a22c3189110c6c017c4e5d3c2e18 (plain)
1
2
3
4
5
6
7
pub struct Foo<T>(T);

impl<T> Foo<T> {
    pub fn new(t: T) -> Foo<T> {
        Foo(t)
    }
}