Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught kinding-violations in rustc and libstd.
This commit is contained in:
parent
a3c8d4a5a5
commit
c011f13144
28 changed files with 45 additions and 35 deletions
|
@ -3,7 +3,7 @@ import std::option;
|
|||
import codemap::span;
|
||||
import ast::*;
|
||||
|
||||
fn respan<T>(sp: &span, t: &T) -> spanned<T> { ret {node: t, span: sp}; }
|
||||
fn respan<@T>(sp: &span, t: &T) -> spanned<T> { ret {node: t, span: sp}; }
|
||||
|
||||
/* assuming that we're not in macro expansion */
|
||||
fn mk_sp(lo: uint, hi: uint) -> span {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue