error: unmatched angle brackets --> $DIR/unmatched-langle-1.rs:5:10 | LL | foo::<<<>(); | ^^^ | help: remove extra angle brackets | LL - foo::<<<>(); LL + foo::>(); | error[E0412]: cannot find type `Ty` in this scope --> $DIR/unmatched-langle-1.rs:5:14 | LL | foo::<<<>(); | ^^ not found in this scope error[E0425]: cannot find function `foo` in this scope --> $DIR/unmatched-langle-1.rs:5:5 | LL | foo::<<<>(); | ^^^ not found in this scope error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0425. For more information about an error, try `rustc --explain E0412`.