mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
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`.
|