rust/src/test/ui/issues/issue-25368.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
541 B
Plaintext
Raw Normal View History

error[E0282]: type annotations needed for `(Sender<Foo<T>>, std::sync::mpsc::Receiver<Foo<T>>)`
2022-02-14 06:25:26 -06:00
--> $DIR/issue-25368.rs:8:9
2018-07-15 16:11:54 -05:00
|
2022-02-14 06:25:26 -06:00
LL | let (tx, rx) =
| ^^^^^^^^
|
help: consider giving this pattern a type, where the type for type parameter `T` is specified
|
LL | let (tx, rx): (Sender<Foo<T>>, std::sync::mpsc::Receiver<Foo<T>>) =
| +++++++++++++++++++++++++++++++++++++++++++++++++++++
2018-07-15 16:11:54 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.