]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-71406.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / issues / issue-71406.rs
1 use std::sync::mpsc;
2
3 fn main() {
4     let (tx, rx) = mpsc::channel::new(1);
5     //~^ ERROR expected type, found function `channel` in `mpsc`
6 }