Sign in
rust
/
rust-lang
/
rust
/
refs/heads/master
/
.
/
tests
/
ui
/
resolve
/
function-module-ambiguity-error-71406.rs
blob: a7964de9ba5e23bfbd1fdf702d695eb3b1a631d7 [
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 expected type, found function `channel` in `mpsc`
}