about summary refs log tree commit diff
path: root/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-10 05:14:11 +0000
committerMichael Goulet <michael@errs.io>2024-04-01 22:48:23 -0400
commit09ea3f93ee6497247172a80ba17493748d08b64c (patch)
treeb0f6370bdd1f56b3f31091fb5e3e775ac8d238cb /tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
parent5f59b7f7634ac4b05923b47de00f2a13b213af1f (diff)
downloadrust-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.rs3
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 ())`
 }