summaryrefslogtreecommitdiffstats
path: root/tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr b/tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr
index 3b518d180..d1f5ea360 100644
--- a/tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr
+++ b/tests/ui/deprecation/issue-84637-deprecated-associated-function.stderr
@@ -25,5 +25,16 @@ help: replace the use of the deprecated method
LL | let _bar = " aoeu".trim_start();
| ~~~~~~~~~~
-error: aborting due to 2 previous errors
+error: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
+ --> $DIR/issue-84637-deprecated-associated-function.rs:10:27
+ |
+LL | let _baz = ["a", "b"].connect(" ");
+ | ^^^^^^^
+ |
+help: replace the use of the deprecated method
+ |
+LL | let _baz = ["a", "b"].join(" ");
+ | ~~~~
+
+error: aborting due to 3 previous errors