summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-23544.rs
blob: 6ad00b2fba4bd2f7b5d2ec5f57b1bc0fa759a44c (plain)
1
2
3
4
5
6
7
8
9
pub trait A: Copy {}

pub trait D {
    fn f<T>(self)
        where T<Bogus = Self::AlsoBogus>: A;
        //~^ ERROR associated type bindings are not allowed here [E0229]
}

fn main() {}