diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-09-11 14:37:55 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-09-23 18:42:14 +0200 |
| commit | aac2c7ddd887a410e44a2cdc4cb4735765b2924e (patch) | |
| tree | 27200c64ff35cc2f31717e5b005de1e19886a917 /src/test/ui/polymorphization | |
| parent | 4d44e09cb1db2788f59159c4b9055e339ed2181d (diff) | |
Always print '_, even for erased lifetimes.
Diffstat (limited to 'src/test/ui/polymorphization')
| -rw-r--r-- | src/test/ui/polymorphization/predicates.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/polymorphization/predicates.stderr b/src/test/ui/polymorphization/predicates.stderr index e5af1d7515f..80bb2af25cc 100644 --- a/src/test/ui/polymorphization/predicates.stderr +++ b/src/test/ui/polymorphization/predicates.stderr @@ -41,7 +41,7 @@ error: item has unused generic parameters LL | fn bar<I>() { | ^^^ - generic parameter `I` is unused -note: the above error was encountered while instantiating `fn foo::<std::slice::Iter<u32>, T>` +note: the above error was encountered while instantiating `fn foo::<std::slice::Iter<'_, u32>, T>` --> $DIR/predicates.rs:86:5 | LL | foo(x.iter()); |
