Remove unimplemented erorr and enable test.
This commit is contained in:
parent
c6dec379b0
commit
d97137734b
@ -443,6 +443,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
|
||||
fn-lval.rs \
|
||||
fun-call-variants.rs \
|
||||
fun-indirect-call.rs \
|
||||
generic-fn.rs \
|
||||
generic-fn-infer.rs \
|
||||
generic-drop-glue.rs \
|
||||
generic-tup.rs \
|
||||
|
@ -418,11 +418,6 @@ fn fold_pat_tag(&env e, &span sp, ident i, vec[@ast.pat] args,
|
||||
|
||||
fn fold_expr_path(&env e, &span sp, &ast.path p, &option.t[def] d,
|
||||
ann a) -> @ast.expr {
|
||||
|
||||
if (_vec.len[@ast.ty](p.node.types) > 0u) {
|
||||
e.sess.unimpl("resolving name expr with ty params");
|
||||
}
|
||||
|
||||
auto n_idents = _vec.len[ast.ident](p.node.idents);
|
||||
|
||||
check (n_idents != 0u);
|
||||
|
Loading…
x
Reference in New Issue
Block a user