Finalize impl Grammar

This commit is contained in:
Aleksey Kladov
2020-07-30 18:28:28 +02:00
parent c83467796b
commit c5798c4d75
54 changed files with 103 additions and 100 deletions

View File

@@ -221,7 +221,7 @@ pub(super) fn maybe_item(p: &mut Parser, m: Marker, flavor: ItemFlavor) -> Resul
// unsafe default impl Foo {}
T![impl] => {
traits::impl_def(p);
m.complete(p, IMPL_DEF);
m.complete(p, IMPL);
}
// test existential_type