2020-10-15 14:21:45 -05:00
|
|
|
// Separate test file because `Fn() => bool` isn't getting fixed and rustfix complained that
|
|
|
|
// even though a fix was applied the code was still incorrect
|
|
|
|
|
|
|
|
fn foo() => impl Fn() => bool {
|
|
|
|
//~^ ERROR return types are denoted using `->`
|
2021-12-04 12:05:30 -06:00
|
|
|
//~| ERROR expected one of `+`, `->`, `::`, `where`, or `{`, found `=>`
|
2020-10-15 14:21:45 -05:00
|
|
|
unimplemented!()
|
|
|
|
}
|