about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-01-08 01:53:39 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-08 01:53:39 +0000
commitebbc5dafd351551bdeab3e4edbdf9a03898a9017 (patch)
tree139a5e436e25b35cdfcc2c402acb7f8854ad32c9 /src/test
parentd85d38b7b8ad9faa12231bbcc9a0214410c0719c (diff)
downloadrust-ebbc5dafd351551bdeab3e4edbdf9a03898a9017.tar.gz
rust-ebbc5dafd351551bdeab3e4edbdf9a03898a9017.zip
Do not emit wrong E0308 suggestion for closure mismatch
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/type/closure-with-wrong-borrows.stderr4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/type/closure-with-wrong-borrows.stderr b/src/test/ui/type/closure-with-wrong-borrows.stderr
index e13db6c325a..7370bc76467 100644
--- a/src/test/ui/type/closure-with-wrong-borrows.stderr
+++ b/src/test/ui/type/closure-with-wrong-borrows.stderr
@@ -13,10 +13,6 @@ note: function defined here
    |
 LL | fn f(inner: fn(&str, &S)) {
    |    ^ -------------------
-help: consider removing the ``
-   |
-LL |     f(inner);
-   |
 
 error: aborting due to previous error