summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/issue-95208.fixed
blob: a0b1e886ca26887935098d9ae3cedfb72f0e5362 (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() {}