about summary refs log tree commit diff
path: root/tests/ui/associated-type-bounds/issue-104916.rs
blob: 75f327e6ee79e861e8dc96eda282756f68fc322b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
trait B {
    type AssocType;
}

fn f()
where
    dyn for<'j> B<AssocType: 'j>:,
    //~^ ERROR: associated type bounds are not allowed in `dyn` types
{
}

fn main() {}