blob: 845457f7e30fb86bf4fdcdb1182f4d2a9c753ee7 [file] [log] [blame]
//@ compile-flags: --diagnostic-width=60 -Zwrite-long-types-to-disk=yes
type A = (String, String, String, String);
type B = (A, A, A, A);
type C = (B, B, B, B);
type D = (C, C, C, C);
trait Trait {}
fn require_trait<T: Trait>() {}
fn foo(x: D) {
let _a = x;
let _b = x; //~ ERROR use of moved value
}
fn main() {}