Skip to content

Commit b905f80

Browse files
committed
fn-trait-closure test now pass on new solver
1 parent 6155a80 commit b905f80

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/ui/traits/new-solver/fn-trait-closure.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
// 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.
2+
// check-pass
103

114
fn require_fn(_: impl Fn() -> i32) {}
125

0 commit comments

Comments
 (0)