Preparation for kind system overhaul
This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177
This commit is contained in:
@@ -229,7 +229,7 @@ fn ret_by_ref(style: ret_style) -> bool {
|
||||
}
|
||||
|
||||
fn ty_param_kind(tp: ty_param) -> kind {
|
||||
alt tp.kind { explicit(x) | implicit(x) { x } }
|
||||
alt tp.kind { ast::implicit(x) | ast::explicit(x) { x } }
|
||||
}
|
||||
|
||||
// Local Variables:
|
||||
|
||||
Reference in New Issue
Block a user