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

8 lines
193 B
Rust

// https://github.com/rust-lang/rust/issues/71406
use std::sync::mpsc;
fn main() {
let (tx, rx) = mpsc::channel::new(1);
//~^ ERROR expected type, found function `channel` in `mpsc`
}