]> git.lizzy.rs Git - rust.git/blob - tests/ui/did_you_mean/recursion_limit.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / did_you_mean / recursion_limit.stderr
1 error[E0275]: overflow evaluating the requirement `K: Send`
2   --> $DIR/recursion_limit.rs:34:5
3    |
4 LL |     is_send::<A>();
5    |     ^^^^^^^^^^^^
6    |
7    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]` attribute to your crate (`recursion_limit`)
8 note: required because it appears within the type `J`
9   --> $DIR/recursion_limit.rs:24:9
10    |
11 LL | link! { J, K }
12    |         ^
13 note: required because it appears within the type `I`
14   --> $DIR/recursion_limit.rs:23:9
15    |
16 LL | link! { I, J }
17    |         ^
18 note: required because it appears within the type `H`
19   --> $DIR/recursion_limit.rs:22:9
20    |
21 LL | link! { H, I }
22    |         ^
23 note: required because it appears within the type `G`
24   --> $DIR/recursion_limit.rs:21:9
25    |
26 LL | link! { G, H }
27    |         ^
28 note: required because it appears within the type `F`
29   --> $DIR/recursion_limit.rs:20:9
30    |
31 LL | link! { F, G }
32    |         ^
33 note: required because it appears within the type `E`
34   --> $DIR/recursion_limit.rs:19:9
35    |
36 LL | link! { E, F }
37    |         ^
38 note: required because it appears within the type `D`
39   --> $DIR/recursion_limit.rs:18:9
40    |
41 LL | link! { D, E }
42    |         ^
43 note: required because it appears within the type `C`
44   --> $DIR/recursion_limit.rs:17:9
45    |
46 LL | link! { C, D }
47    |         ^
48 note: required because it appears within the type `B`
49   --> $DIR/recursion_limit.rs:16:9
50    |
51 LL | link! { B, C }
52    |         ^
53 note: required because it appears within the type `A`
54   --> $DIR/recursion_limit.rs:15:9
55    |
56 LL | link! { A, B }
57    |         ^
58 note: required by a bound in `is_send`
59   --> $DIR/recursion_limit.rs:31:14
60    |
61 LL | fn is_send<T:Send>() { }
62    |              ^^^^ required by this bound in `is_send`
63
64 error: aborting due to previous error
65
66 For more information about this error, try `rustc --explain E0275`.