Get rid of warnings from instantiating typarams with non-implicitly copyable types.
This commit is contained in:
parent
4d5d43beae
commit
6d9dd055d1
6 changed files with 12 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue