summary refs log tree commit diff
path: root/src/test/ui/impl-trait/explicit-generic-args-with-impl-trait/feature-gate.stderr
blob: 6adc4e6b23968ed57e04443005c220aed915727d (plain)
1
2
3
4
5
6
7
8
9
error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
  --> $DIR/feature-gate.rs:6:11
   |
LL |     foo::<str>("".to_string());
   |           ^^^ explicit generic argument not allowed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0632`.