summaryrefslogtreecommitdiffstats
path: root/tests/ui/infinite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/infinite')
-rw-r--r--tests/ui/infinite/infinite-struct.stderr6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ui/infinite/infinite-struct.stderr b/tests/ui/infinite/infinite-struct.stderr
index b6c72b1de..82d147b63 100644
--- a/tests/ui/infinite/infinite-struct.stderr
+++ b/tests/ui/infinite/infinite-struct.stderr
@@ -22,6 +22,10 @@ help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
LL | x: Bar<Box<Foo>>,
| ++++ +
-error: aborting due to 2 previous errors
+error: reached the recursion limit finding the struct tail for `Take`
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]`
+
+error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0072`.