Skip to content

Commit ac4ef17

Browse files
committed
Allow constraint args to be literals
1 parent 528c651 commit ac4ef17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/front/ast.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ tag ty_ {
338338
tag constr_arg_ {
339339
carg_base;
340340
carg_ident(ident);
341+
carg_lit(@lit);
341342
}
342343
type constr_arg = spanned[constr_arg_];
343344
type constr_ = rec(path path, vec[@constr_arg] args);

0 commit comments

Comments
 (0)