Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-46771.rs
blob: 22be8d6af8a7f9b5711cd940a687851dd80a5439 [
file
] [
log
] [
blame
]
fn
main
()
{
struct
Foo
;
(
1
..
2
).
find
(|
_
|
Foo
(
0
)
==
0
);
//~ ERROR expected function, found `Foo`
}