summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-55673.fixed
blob: 261742a26cbf1db6689228c90213411dadc73d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// run-rustfix
#![allow(dead_code)]
trait Foo {
    type Bar;
}

fn foo<T: Foo>()
where
    T::Bar: std::fmt::Debug,
    //~^ ERROR associated type `Baa` not found for `T`
{
}

fn bar<T>()
where
    T::Bar: std::fmt::Debug, T: Foo
    //~^ ERROR associated type `Baa` not found for `T`
{
}

fn main() {}