Remove unimplemented erorr and enable test.
This commit is contained in:
parent
c6dec379b0
commit
d97137734b
2 changed files with 1 additions and 5 deletions
|
@ -443,6 +443,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
|
||||||
fn-lval.rs \
|
fn-lval.rs \
|
||||||
fun-call-variants.rs \
|
fun-call-variants.rs \
|
||||||
fun-indirect-call.rs \
|
fun-indirect-call.rs \
|
||||||
|
generic-fn.rs \
|
||||||
generic-fn-infer.rs \
|
generic-fn-infer.rs \
|
||||||
generic-drop-glue.rs \
|
generic-drop-glue.rs \
|
||||||
generic-tup.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,
|
fn fold_expr_path(&env e, &span sp, &ast.path p, &option.t[def] d,
|
||||||
ann a) -> @ast.expr {
|
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);
|
auto n_idents = _vec.len[ast.ident](p.node.idents);
|
||||||
|
|
||||||
check (n_idents != 0u);
|
check (n_idents != 0u);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue