]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/auto-trait-leak.rs
Rollup merge of #95504 - jyn514:library-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / auto-trait-leak.rs
index c2fbbf94fd66623678df17d392e4507993b2330e..d2452abab02549987b5352dfcd8624a60d307108 100644 (file)
@@ -11,6 +11,7 @@ fn main() {
 // return type, which can't depend on the obligation.
 fn cycle1() -> impl Clone {
     //~^ ERROR cycle detected
+    //~| ERROR cycle detected
     send(cycle2().clone());
 
     Rc::new(Cell::new(5))