]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/variance-object-types.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / compile-fail / variance-object-types.rs
index 2b7b05970d90f4c15f8830398eeaa50b76cc1e5d..1f54771e3676abd00677dc05b75672c2d619a1ec 100644 (file)
@@ -18,7 +18,7 @@ use std::cell::Cell;
 // For better or worse, associated types are invariant, and hence we
 // get an invariant result for `'a`.
 #[rustc_variance]
-struct Foo<'a> { //~ ERROR regions=[[o];[];[]]
+struct Foo<'a> { //~ ERROR [o]
     x: Box<Fn(i32) -> &'a i32 + 'static>
 }