summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/recursion_limit.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/did_you_mean/recursion_limit.stderr')
-rw-r--r--src/test/ui/did_you_mean/recursion_limit.stderr66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/test/ui/did_you_mean/recursion_limit.stderr b/src/test/ui/did_you_mean/recursion_limit.stderr
new file mode 100644
index 000000000..247fe4b5b
--- /dev/null
+++ b/src/test/ui/did_you_mean/recursion_limit.stderr
@@ -0,0 +1,66 @@
+error[E0275]: overflow evaluating the requirement `K: Send`
+ --> $DIR/recursion_limit.rs:34:5
+ |
+LL | is_send::<A>();
+ | ^^^^^^^^^^^^
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]` attribute to your crate (`recursion_limit`)
+note: required because it appears within the type `J`
+ --> $DIR/recursion_limit.rs:24:9
+ |
+LL | link! { J, K }
+ | ^
+note: required because it appears within the type `I`
+ --> $DIR/recursion_limit.rs:23:9
+ |
+LL | link! { I, J }
+ | ^
+note: required because it appears within the type `H`
+ --> $DIR/recursion_limit.rs:22:9
+ |
+LL | link! { H, I }
+ | ^
+note: required because it appears within the type `G`
+ --> $DIR/recursion_limit.rs:21:9
+ |
+LL | link! { G, H }
+ | ^
+note: required because it appears within the type `F`
+ --> $DIR/recursion_limit.rs:20:9
+ |
+LL | link! { F, G }
+ | ^
+note: required because it appears within the type `E`
+ --> $DIR/recursion_limit.rs:19:9
+ |
+LL | link! { E, F }
+ | ^
+note: required because it appears within the type `D`
+ --> $DIR/recursion_limit.rs:18:9
+ |
+LL | link! { D, E }
+ | ^
+note: required because it appears within the type `C`
+ --> $DIR/recursion_limit.rs:17:9
+ |
+LL | link! { C, D }
+ | ^
+note: required because it appears within the type `B`
+ --> $DIR/recursion_limit.rs:16:9
+ |
+LL | link! { B, C }
+ | ^
+note: required because it appears within the type `A`
+ --> $DIR/recursion_limit.rs:15:9
+ |
+LL | link! { A, B }
+ | ^
+note: required by a bound in `is_send`
+ --> $DIR/recursion_limit.rs:31:14
+ |
+LL | fn is_send<T:Send>() { }
+ | ^^^^ required by this bound in `is_send`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.