summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/auto-trait-leak.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/auto-trait-leak.rs')
-rw-r--r--tests/ui/impl-trait/auto-trait-leak.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/impl-trait/auto-trait-leak.rs b/tests/ui/impl-trait/auto-trait-leak.rs
index 1f90292f4..de4f523c2 100644
--- a/tests/ui/impl-trait/auto-trait-leak.rs
+++ b/tests/ui/impl-trait/auto-trait-leak.rs
@@ -9,8 +9,6 @@ fn main() {}
// independently resolved and only require the concrete
// 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))