Able to use the turbofish syntax with impl trait for methods #50950
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
P-high
High priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
In some cases it seems like you are able to use the turbofish syntax with impl Trait
playground: http://play.rust-lang.org/?gist=62b8c9d317dd6f149354555ca42d45b3&version=stable&mode=debug
This should fail with
error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
The text was updated successfully, but these errors were encountered: