diff options
| author | Michael Goulet <michael@errs.io> | 2024-03-10 05:14:11 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-04-01 22:48:23 -0400 |
| commit | 09ea3f93ee6497247172a80ba17493748d08b64c (patch) | |
| tree | b0f6370bdd1f56b3f31091fb5e3e775ac8d238cb /tests/ui/higher-ranked/trait-bounds/fn-ptr.rs | |
| parent | 5f59b7f7634ac4b05923b47de00f2a13b213af1f (diff) | |
| download | rust-09ea3f93ee6497247172a80ba17493748d08b64c.tar.gz rust-09ea3f93ee6497247172a80ba17493748d08b64c.zip | |
Fix obligation param and bless tests
Diffstat (limited to 'tests/ui/higher-ranked/trait-bounds/fn-ptr.rs')
| -rw-r--r-- | tests/ui/higher-ranked/trait-bounds/fn-ptr.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs b/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs index 9298c10c341..7a4c15f4d4b 100644 --- a/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs +++ b/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs @@ -1,7 +1,7 @@ //@ revisions: current next //@ ignore-compare-mode-next-solver (explicit revisions) //@[next] compile-flags: -Znext-solver -//@[next] check-pass +//@ check-pass fn ice() where @@ -11,5 +11,4 @@ where fn main() { ice(); - //[current]~^ ERROR expected a `Fn(&'w ())` closure, found `fn(&'w ())` } |
