rust/tests/ui/resolve/function-module-ambiguity-error-71406.stderr
2025-10-12 00:33:20 -04:00

9 lines
390 B
Text

error[E0433]: failed to resolve: expected type, found function `channel` in `mpsc`
--> $DIR/function-module-ambiguity-error-71406.rs:5:26
|
LL | let (tx, rx) = mpsc::channel::new(1);
| ^^^^^^^ expected type, found function `channel` in `mpsc`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.