We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4210ef commit dbffc42Copy full SHA for dbffc42
src/test/compile-fail/issue-46771.rs
@@ -11,4 +11,4 @@
11
fn main() {
12
struct Foo;
13
(1 .. 2).find(|_| Foo(0) == 0); //~ ERROR expected function, found `main::Foo`
14
-}
+}
0 commit comments