]> git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/explicit-generic-args-with-impl-trait/feature-gate.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / impl-trait / explicit-generic-args-with-impl-trait / feature-gate.stderr
1 error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
2 --> $DIR/feature-gate.rs:6:11
3 |
4 LL | foo::<str>("".to_string());
5 | ^^^ explicit generic argument not allowed
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0632`.