mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 08:16:56 +00:00
12 lines
493 B
Plaintext
12 lines
493 B
Plaintext
error: implementation of `Debug` is not general enough
|
|
--> $DIR/higher-ranked-auto-trait-9.rs:43:50
|
|
|
|
|
LL | let fut: &(dyn Future<Output = ()> + Send) = &fut as _;
|
|
| ^^^^^^^^^ implementation of `Debug` is not general enough
|
|
|
|
|
= note: `(dyn Any + '0)` must implement `Debug`, for any lifetime `'0`...
|
|
= note: ...but `Debug` is actually implemented for the type `(dyn Any + 'static)`
|
|
|
|
error: aborting due to 1 previous error
|
|
|