We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e10e77 commit b435fe8Copy full SHA for b435fe8
crates/ra_parser/src/grammar/params.rs
@@ -114,6 +114,9 @@ fn value_parameter(p: &mut Parser, flavor: Flavor) {
114
// test fn_pointer_param_ident_path
115
// type Foo = fn(Bar::Baz);
116
// type Qux = fn(baz: Bar::Baz);
117
+
118
+ // test fn_pointer_unnamed_arg
119
+ // type Foo = fn(_: bar);
120
Flavor::FnPointer => {
121
if (p.at(IDENT) || p.at(UNDERSCORE)) && p.nth(1) == T![:] && !p.nth_at(1, T![::]) {
122
patterns::pattern_single(p);
0 commit comments