summaryrefslogtreecommitdiffstats
path: root/tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed')
-rw-r--r--tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed b/tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed
index 85e882870..659b54655 100644
--- a/tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed
+++ b/tests/ui/deprecation/issue-84637-deprecated-associated-function.fixed
@@ -6,4 +6,6 @@ fn main() {
let _foo = str::trim_start(" aoeu"); //~ ERROR use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start` [deprecated]
let _bar = " aoeu".trim_start(); //~ ERROR use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start` [deprecated]
+
+ let _baz = ["a", "b"].join(" "); //~ ERROR use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join [deprecated]
}