fn main() { (0..13).collect>(); //~^ ERROR comparison operators cannot be chained //~| HELP use `::<...>` instead Vec::new(); //~^ ERROR comparison operators cannot be chained //~| HELP use `::<...>` instead (0..13).collect(); //~^ ERROR comparison operators cannot be chained //~| HELP use `::<...>` instead let x = std::collections::HashMap::new(); //~ ERROR expected one of //~^ HELP use `::<...>` instead let x: () = 42; //~ ERROR mismatched types let x = { std::collections::HashMap::new() //~ ERROR expected one of //~^ HELP use `::<...>` instead }; let x: () = 42; //~ ERROR mismatched types let x = { std::collections::HashMap::new(); //~ ERROR expected one of //~^ HELP use `::<...>` instead let x: () = 42; //~ ERROR mismatched types }; { std::collections::HashMap::new(1, 2); //~ ERROR expected one of //~^ HELP use `::<...>` instead let x: () = 32; //~ ERROR mismatched types }; }