From 27bedfa36bda9ec75751b0f0b5dee782108b56d3 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 17 Nov 2017 11:13:13 -0500 Subject: give better error messages when a cycle arises --- src/test/ui/span/coerce-suggestions.stderr | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/test/ui/span') diff --git a/src/test/ui/span/coerce-suggestions.stderr b/src/test/ui/span/coerce-suggestions.stderr index b703632bf90..3cf0fd9a9ee 100644 --- a/src/test/ui/span/coerce-suggestions.stderr +++ b/src/test/ui/span/coerce-suggestions.stderr @@ -43,9 +43,6 @@ error[E0308]: mismatched types | 41 | f = box f; | ^^^^^ cyclic type of infinite size - | - = note: expected type `_` - found type `std::boxed::Box<_>` error[E0308]: mismatched types --> $DIR/coerce-suggestions.rs:48:9 -- cgit 1.4.1-3-g733a5