fork/rust

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

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

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