fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions 2 --> $DIR/bad-infer-in-trait-impl.rs:6:15 3 | 4LL | fn bar(s: _) {} 5 | ^ not allowed in type signatures 6 | 7help: use type parameters instead 8 | 9LL | fn bar<T>(s: T) {} 10 | +++ ~ 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0121`.