Parse impl const Trait

This commit is contained in:
Lukas Wirth 2021-01-18 19:50:13 +01:00
parent 6105dbfc2e
commit b26002410b
4 changed files with 31 additions and 2 deletions

View file

@ -40,6 +40,10 @@ pub(super) fn impl_(p: &mut Parser) {
type_params::opt_generic_param_list(p);
}
// test impl_def_const
// impl const Send for X {}
p.eat(T![const]);
// FIXME: never type
// impl ! {}