8 lines
193 B
Rust
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`
|
|
}
|