rust/tests/ui/generics/issue-95208.fixed
2023-01-11 09:32:08 +00:00

12 lines
199 B
Rust

// 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() {}