diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-07-05 17:24:23 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-07-22 22:04:49 +0000 |
| commit | b30fdec5fb283641fc0452fa6ca60193a16bb30d (patch) | |
| tree | c360a87a4f13502e1e033c9ae1a545d07be73fcc /tests/ui/impl-trait/explicit-generic-args-with-impl-trait | |
| parent | 5c2b36a21cabafb1f08e278f4c6ed61753a654cf (diff) | |
| download | rust-b30fdec5fb283641fc0452fa6ca60193a16bb30d.tar.gz rust-b30fdec5fb283641fc0452fa6ca60193a16bb30d.zip | |
On generic and lifetime removal suggestion, do not leave behind stray `,`
Diffstat (limited to 'tests/ui/impl-trait/explicit-generic-args-with-impl-trait')
| -rw-r--r-- | tests/ui/impl-trait/explicit-generic-args-with-impl-trait/explicit-generic-args-for-impl.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/explicit-generic-args-with-impl-trait/explicit-generic-args-for-impl.stderr b/tests/ui/impl-trait/explicit-generic-args-with-impl-trait/explicit-generic-args-for-impl.stderr index 1c22e77e817..e225d7076b8 100644 --- a/tests/ui/impl-trait/explicit-generic-args-with-impl-trait/explicit-generic-args-for-impl.stderr +++ b/tests/ui/impl-trait/explicit-generic-args-with-impl-trait/explicit-generic-args-for-impl.stderr @@ -13,7 +13,7 @@ LL | fn foo<T: ?Sized>(_f: impl AsRef<T>) {} help: remove the unnecessary generic argument | LL - foo::<str, String>("".to_string()); -LL + foo::<str, >("".to_string()); +LL + foo::<str>("".to_string()); | error: aborting due to 1 previous error |
