1 // ignore-tidy-linelength
3 // The problem in #66357 was that the call trace:
5 // - parse_fn_block_decl
9 // - expected_one_of_not_found
10 // - recover_closing_delimiter
12 // ended up bubbling up `Ok(true)` to `unexpected` which then used `unreachable!()`.
15 //~^ ERROR expected one of `,` or `:`, found `(`
16 //~| ERROR expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`