Get rid of warnings from instantiating typarams with non-implicitly copyable types.

This commit is contained in:
Michael Sullivan 2012-06-04 14:31:25 -07:00
parent 4d5d43beae
commit 6d9dd055d1
6 changed files with 12 additions and 3 deletions

View file

@ -323,6 +323,7 @@ fn check_call(cx: @ctx, sc: scope, f: @ast::expr, args: [@ast::expr],
}
}
#[warn(no_non_implicitly_copyable_typarams)]
fn check_alt(cx: ctx, input: @ast::expr, arms: [ast::arm], sc: scope,
v: vt<scope>) {
v.visit_expr(input, sc, v);