2020-09-02 02:40:56 -05:00
|
|
|
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`.
|