From b30fdec5fb283641fc0452fa6ca60193a16bb30d Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Fri, 5 Jul 2024 17:24:23 +0000 Subject: On generic and lifetime removal suggestion, do not leave behind stray `,` --- tests/ui/error-codes/E0107.stderr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/ui/error-codes') diff --git a/tests/ui/error-codes/E0107.stderr b/tests/ui/error-codes/E0107.stderr index d8bd96e0ad4..3271abd8a79 100644 --- a/tests/ui/error-codes/E0107.stderr +++ b/tests/ui/error-codes/E0107.stderr @@ -47,7 +47,7 @@ LL | struct Foo<'a>(&'a str); help: remove the lifetime arguments | LL - foo2: Foo<'a, 'b, 'c>, -LL + foo2: Foo<'a, >, +LL + foo2: Foo<'a>, | error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied @@ -64,7 +64,7 @@ LL | struct Qux<'a, T>(&'a T); help: remove the lifetime argument | LL - qux1: Qux<'a, 'b, i32>, -LL + qux1: Qux<'a, , i32>, +LL + qux1: Qux<'a, i32>, | error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied @@ -81,7 +81,7 @@ LL | struct Qux<'a, T>(&'a T); help: remove the lifetime argument | LL - qux2: Qux<'a, i32, 'b>, -LL + qux2: Qux<'a, i32, >, +LL + qux2: Qux<'a>, | error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied @@ -98,7 +98,7 @@ LL | struct Qux<'a, T>(&'a T); help: remove the lifetime arguments | LL - qux3: Qux<'a, 'b, 'c, i32>, -LL + qux3: Qux<'a, , i32>, +LL + qux3: Qux<'a, i32>, | error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied @@ -115,7 +115,7 @@ LL | struct Qux<'a, T>(&'a T); help: remove the lifetime arguments | LL - qux4: Qux<'a, i32, 'b, 'c>, -LL + qux4: Qux<'a, i32, >, +LL + qux4: Qux<'a>, | error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied @@ -132,7 +132,7 @@ LL | struct Qux<'a, T>(&'a T); help: remove the lifetime argument | LL - qux5: Qux<'a, 'b, i32, 'c>, -LL + qux5: Qux<'a, , i32, 'c>, +LL + qux5: Qux<'a, i32, 'c>, | error[E0107]: struct takes 0 lifetime arguments but 2 lifetime arguments were supplied -- cgit 1.4.1-3-g733a5