]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/issue-95208-ignore-qself.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / generics / issue-95208-ignore-qself.rs
1 // run-rustfix
2
3 #[allow(unused)]
4 struct Struct<T>(T);
5
6 impl<T: Iterator> Struct<T> where <T as std:: iter::Iterator>::Item:: std::fmt::Display {
7 //~^ ERROR expected `:` followed by trait or lifetime
8 //~| HELP use single colon
9 }
10
11 fn main() {}