]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/issue-95208.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / generics / issue-95208.rs
1 // run-rustfix
2
3 #[allow(unused)]
4 struct Struct<T>(T);
5
6 impl<T> Struct<T> where T:: std::fmt::Display {
7 //~^ ERROR expected `:` followed by trait or lifetime
8 //~| HELP use single colon
9 }
10
11 fn main() {}