We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6155a80 commit b905f80Copy full SHA for b905f80
tests/ui/traits/new-solver/fn-trait-closure.rs
@@ -1,12 +1,5 @@
1
// compile-flags: -Ztrait-solver=next
2
-// known-bug: unknown
3
-// failure-status: 101
4
-// dont-check-compiler-stderr
5
-
6
-// This test will fail until we fix `FulfillmentCtxt::relationships`. That's
7
-// because we create a type variable for closure upvar types, which is not
8
-// constrained until after we try to do fallback on diverging type variables.
9
-// Thus, we will call that function, which is unimplemented.
+// check-pass
10
11
fn require_fn(_: impl Fn() -> i32) {}
12
0 commit comments