about summary refs log tree commit diff
path: root/tests/ui/resolve/issue-55673.rs
blob: b9b6b6956c53a42a989afe80d857b2dc8d222cd8 (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::Baa: std::fmt::Debug,
    //~^ ERROR associated type `Baa` not found for `T`
{
}

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

fn main() {}