From 36e4c5425ce253e92dd778adb83ffd06e08a3d46 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 12 Dec 2023 18:44:24 -0800 Subject: [PATCH] Update ui test suite to nightly-2023-12-13 --- tests/ui/expected_named.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/expected_named.stderr b/tests/ui/expected_named.stderr index 0068bdf36..c0fa04de7 100644 --- a/tests/ui/expected_named.stderr +++ b/tests/ui/expected_named.stderr @@ -5,7 +5,7 @@ error[E0106]: missing lifetime specifier | ^^^^^^^^ expected named lifetime parameter | = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from -help: consider using the `'static` lifetime +help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values | 5 | fn borrowed() -> UniquePtr>; | +++++++++