]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/associated-types-ICE-when-projecting-out-of-err.rs
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / associated-types-ICE-when-projecting-out-of-err.rs
index 408e55f890317794d7b01031c02fc8aba6debf5d..707bcac78bf92c79658597003202d13ef978e93f 100644 (file)
@@ -21,5 +21,5 @@ trait Add<RHS=Self> {
 fn ice<A>(a: A) {
     let r = loop {};
     r = r + a;
-    //~^ ERROR the trait bound `!: Add<A>` is not satisfied
+    //~^ ERROR the trait bound `(): Add<A>` is not satisfied
 }