1
Fork 0

Actually infer args in visitors

This commit is contained in:
kadmin 2021-05-06 15:33:44 +00:00
parent 3605675bb1
commit 8759f00c73
30 changed files with 257 additions and 97 deletions

View file

@ -336,6 +336,8 @@ pub enum ParamKindOrd {
// is active. Specifically, if it's only `min_const_generics`, it will still require
// ordering consts after types.
Const { unordered: bool },
// `Infer` is not actually constructed directly from the AST, but is implicitly constructed
// during HIR lowering, and `ParamKindOrd` will implicitly order inferred variables last.
Infer,
}