blob: 608b4a20fbc867e20ed75565d51faa7d7d2b7ce8 [file] [log] [blame]
// run-rustfix
#[allow(unused)]
struct Struct<T>(T);
impl<T: Iterator> Struct<T> where <T as std:: iter::Iterator>::Item: std::fmt::Display {
//~^ ERROR expected `:` followed by trait or lifetime
//~| HELP use single colon
}
fn main() {}