about summary refs log tree commit diff
path: root/tests/ui/generics/issue-95208-ignore-qself.fixed
blob: 0c5bffd9746369aecccef48f456c54ea6bdd6479 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-rustfix

#[allow(unused)]
struct Struct<T>(T);

impl<T: Iterator> Struct<T> where <T as std:: iter::Iterator>::Item: std::fmt::Display {
//~^ ERROR expected `:` followed by trait or lifetime
//~| HELP use single colon
}

fn main() {}