2020-04-26 10:28:33 +08:00
|
|
|
error[E0433]: failed to resolve: expected type, found function `channel` in `mpsc`
|
2020-04-22 15:33:34 +08:00
|
|
|
--> $DIR/issue-71406.rs:4:26
|
|
|
|
|
|
|
|
|
LL | let (tx, rx) = mpsc::channel::new(1);
|
2020-04-26 10:28:33 +08:00
|
|
|
| ^^^^^^^ expected type, found function `channel` in `mpsc`
|
2020-04-22 15:33:34 +08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|