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 return types 2 --> $DIR/suggest-fn-ptr-for-fn-item-in-fn-ret.rs:7:13 3 | 4LL | fn bar() -> _ { Wrapper(foo) } 5 | ^ 6 | | 7 | not allowed in type signatures 8 | help: replace with the correct return type: `Wrapper<fn()>` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0121`.