rust/tests/ui/impl-trait/async_scope_creep.tait.stderr

10 lines
355 B
Plaintext
Raw Normal View History

error[E0284]: type annotations needed: cannot satisfy `impl AsyncRead + 'a == PendingReader<'a>`
--> $DIR/async_scope_creep.rs:26:9
|
LL | self.read()
| ^^^^^^^^^^^ cannot satisfy `impl AsyncRead + 'a == PendingReader<'a>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0284`.