fork/rust

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

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

master
223 B12 linesraw
1// run-rustfix
2
3#![allow(unused)]
4
5struct Wrapper<T>(T);
6
7fn bar() -> Wrapper<fn()> { Wrapper(foo) }
8//~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
9
10fn foo() {}
11
12fn main() {}