blob: 21163e3486b4cc8db3d996df57b9dddc96d8c9a6 [file] [log] [blame] [edit]
// https://github.com/rust-lang/rust/issues/71406
use std::sync::mpsc;
fn main() {
let (tx, rx) = mpsc::channel::new(1);
//~^ ERROR: cannot find `channel`
//~| NOTE: expected type, found function `channel` in `mpsc`
}