1 error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
2 --> $DIR/feature-gate.rs:6:11
4 LL | foo::<str>("".to_string());
5 | ^^^ explicit generic argument not allowed
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0632`.