about summary refs log tree commit diff
path: root/tests/ui/methods
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-07-05 17:24:23 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-07-22 22:04:49 +0000
commitb30fdec5fb283641fc0452fa6ca60193a16bb30d (patch)
treec360a87a4f13502e1e033c9ae1a545d07be73fcc /tests/ui/methods
parent5c2b36a21cabafb1f08e278f4c6ed61753a654cf (diff)
downloadrust-b30fdec5fb283641fc0452fa6ca60193a16bb30d.tar.gz
rust-b30fdec5fb283641fc0452fa6ca60193a16bb30d.zip
On generic and lifetime removal suggestion, do not leave behind stray `,`
Diffstat (limited to 'tests/ui/methods')
-rw-r--r--tests/ui/methods/method-call-lifetime-args-fail.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/methods/method-call-lifetime-args-fail.stderr b/tests/ui/methods/method-call-lifetime-args-fail.stderr
index 60ef1060aac..2eda01fa20c 100644
--- a/tests/ui/methods/method-call-lifetime-args-fail.stderr
+++ b/tests/ui/methods/method-call-lifetime-args-fail.stderr
@@ -30,7 +30,7 @@ LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
 help: remove the lifetime argument
    |
 LL -     S.early::<'static, 'static, 'static>();
-LL +     S.early::<'static, 'static, >();
+LL +     S.early::<'static, 'static>();
    |
 
 error[E0794]: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
@@ -233,7 +233,7 @@ LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
 help: remove the lifetime argument
    |
 LL -     S::early::<'static, 'static, 'static>(S);
-LL +     S::early::<'static, 'static, >(S);
+LL +     S::early::<'static, 'static>(S);
    |
 
 error: aborting due to 18 previous errors