Allow constraint args to be literals
This commit is contained in:
parent
528c6516f0
commit
ac4ef1741e
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ tag ty_ {
|
||||||
tag constr_arg_ {
|
tag constr_arg_ {
|
||||||
carg_base;
|
carg_base;
|
||||||
carg_ident(ident);
|
carg_ident(ident);
|
||||||
|
carg_lit(@lit);
|
||||||
}
|
}
|
||||||
type constr_arg = spanned[constr_arg_];
|
type constr_arg = spanned[constr_arg_];
|
||||||
type constr_ = rec(path path, vec[@constr_arg] args);
|
type constr_ = rec(path path, vec[@constr_arg] args);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue