syntax update: the default value of ConstParam turned from Expr into ConstArg

This commit is contained in:
ponyii 2023-07-10 17:56:07 +04:00
parent 52b4392724
commit 4ebdc6f052
14 changed files with 48 additions and 37 deletions

View file

@ -88,7 +88,7 @@ fn const_param(p: &mut Parser<'_>, m: Marker) {
// test const_param_default_path
// struct A<const N: i32 = i32::MAX>;
generic_args::const_arg_expr(p);
generic_args::const_arg(p);
}
m.complete(p, CONST_PARAM);