summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/higher-ranked/trait-bounds/fn-ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs b/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
index 853160f96..adb19c035 100644
--- a/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
+++ b/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
@@ -10,5 +10,5 @@ where
fn main() {
ice();
- //[classic]~^ ERROR expected a `Fn<(&'w (),)>` closure, found `fn(&'w ())`
+ //[classic]~^ ERROR expected a `Fn(&'w ())` closure, found `fn(&'w ())`
}