error: expected `:` followed by trait or lifetime --> $DIR/issue-95208.rs:6:46 | LL | impl Struct where T:: std::fmt::Display { | ^ | help: use single colon | LL | impl Struct where T: std::fmt::Display { | ~ error: aborting due to 1 previous error