about summary refs log tree commit diff
path: root/tests/ui/resolve/issue-55673.fixed
blob: ac8e5e0187dff522730c2fed34629c05f176990e (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() {}