fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
466 B12 linesraw
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`.