summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-72076.rs
blob: 1659044a64fe1184c2eb54c936acc783b5e0e9db (plain)
1
2
3
4
5
6
trait X {
    type S;
    fn f() -> Self::S {} //~ ERROR mismatched types
}

fn main() {}