summaryrefslogtreecommitdiffstats
path: root/tests/ui/did_you_mean/recursion_limit.stderr
blob: 70e49566ac0d99bf580658119f3ef9f8178f55e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
error[E0275]: overflow evaluating the requirement `J: 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 `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`.