Files
rust/tests/ui/resolve/function-module-ambiguity-error-71406.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
193 B
Rust
Raw Permalink Normal View History

2025-08-20 14:03:03 -04:00
// 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`
}