2 false == false == false;
3 //~^ ERROR comparison operators cannot be chained
4 //~| HELP split the comparison into two
7 //~^ ERROR comparison operators cannot be chained
8 //~| HELP parenthesize the comparison
11 //~^ ERROR comparison operators cannot be chained
12 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
14 f<Result<Option<X>, Option<Option<X>>>(1, 2);
15 //~^ ERROR comparison operators cannot be chained
16 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
19 //~^ ERROR expected one of
20 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
23 //~^ ERROR expected one of
24 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
27 //~^ comparison operators cannot be chained
28 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
31 //~^ ERROR comparison operators cannot be chained
32 //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
33 //~| HELP or use `(...)` if you meant to specify fn arguments