about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGiacomo Stevanato <giaco.stevanato@gmail.com>2021-09-21 15:37:47 +0200
committerGiacomo Stevanato <giaco.stevanato@gmail.com>2021-09-27 16:59:25 +0200
commit49ba313679a1f7046fe183fd270e8f31ca3dc217 (patch)
tree881c786b4ae24dcf0f6d0930dd8b583e06a10288
parent7f76a73a38c5b12e24b2f790b3f3145559d1aec9 (diff)
downloadrust-49ba313679a1f7046fe183fd270e8f31ca3dc217.tar.gz
rust-49ba313679a1f7046fe183fd270e8f31ca3dc217.zip
Update failing test
-rw-r--r--crates/hir_def/src/item_tree/tests.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/hir_def/src/item_tree/tests.rs b/crates/hir_def/src/item_tree/tests.rs
index a153e17b17a..7671ccefd17 100644
--- a/crates/hir_def/src/item_tree/tests.rs
+++ b/crates/hir_def/src/item_tree/tests.rs
@@ -340,12 +340,11 @@ trait Tr<'a, T: 'a>: Super where Self: for<'a> Tr<'a, T> {}
                 T: 'b
             {
                 // flags = 0x2
-                pub(self) fn f<G, _anon_1>(
+                pub(self) fn f<G>(
                     _: impl Copy,
                 ) -> impl Copy
                 where
-                    G: 'a,
-                    _anon_1: Copy;
+                    G: 'a;
             }
 
             pub(self) enum Enum<'a, T, const U: u8> {