]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/issue-65673.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / traits / issue-65673.rs
index 4b47bd493a5680659e3d21d99addecadad9e9760..e5c2fccb2b5dbabedfff2bc4a51670fa6fd9a143 100644 (file)
@@ -7,6 +7,6 @@ trait Alias<T> = where T: Trait;
 
 impl<T> WithType for T {
     type Ctx = dyn Alias<T>;
-//~^ ERROR the size for values of type `(dyn Trait + 'static)` cannot be known at compilation time
+    //~^ ERROR at least one trait is required for an object type [E0224]
 }
 fn main() {}