fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
241 B11 linesraw
1// run-rustfix
2
3#[allow(unused)]
4struct Struct<T>(T);
5
6impl<T: Iterator> Struct<T> where <T as std:: iter::Iterator>::Item: std::fmt::Display {
7//~^ ERROR expected `:` followed by trait or lifetime
8//~| HELP use single colon
9}
10
11fn main() {}