about summary refs log tree commit diff
path: root/tests/ui/issues/issue-23544.rs
blob: bbd05a59353d42181b8d79a2daf76a07fd6c4809 (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 item constraints are not allowed here [E0229]
}

fn main() {}