summaryrefslogtreecommitdiff
path: root/tests/ui/associated-types
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-01-06 01:11:50 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-30 20:12:21 +0000
commit252c43b42b33dc2bf341afd525d0041c5097d2b1 (patch)
tree859c1fae3c533f50deb8262a15df0dc125d7c054 /tests/ui/associated-types
parent81973a39e05bfc5ddad4b5a54903c2c8fbdfa273 (diff)
Do not mention lifetime names in force trimmed paths
Diffstat (limited to 'tests/ui/associated-types')
-rw-r--r--tests/ui/associated-types/issue-43924.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/associated-types/issue-43924.stderr b/tests/ui/associated-types/issue-43924.stderr
index 526f425b21e..9046170d7c9 100644
--- a/tests/ui/associated-types/issue-43924.stderr
+++ b/tests/ui/associated-types/issue-43924.stderr
@@ -10,11 +10,11 @@ note: required by a bound in `Foo::Out`
LL | type Out: Default + ToString + ?Sized = dyn ToString;
| ^^^^^^^ required by this bound in `Foo::Out`
-error[E0599]: no function or associated item named `default` found for trait object `(dyn ToString + 'static)` in the current scope
+error[E0599]: no function or associated item named `default` found for trait object `dyn ToString` in the current scope
--> $DIR/issue-43924.rs:14:39
|
LL | assert_eq!(<() as Foo<u32>>::Out::default().to_string(), "false");
- | ^^^^^^^ function or associated item not found in `(dyn ToString + 'static)`
+ | ^^^^^^^ function or associated item not found in `dyn ToString`
error: aborting due to 2 previous errors