Sign in
rust
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
resolve
/
function-module-ambiguity-error-71406.rs
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`
}