summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/bad-recursive-type-sig-infer.rs
blob: 9812d8c381117d96620eb2ed17eb9a5f3da3b382 (plain)
1
2
3
4
5
6
7
8
9
10
11
fn a() -> _ {
    //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
    &a
}

fn b() -> _ {
    //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
    &a
}

fn main() {}