summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generics/issue-95208.rs
blob: 0e3083484ff15bac186be3b13d3b047120ec737a (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-rustfix

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

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

fn main() {}