]> git.lizzy.rs Git - rust.git/commitdiff
Update failing test
authorGiacomo Stevanato <giaco.stevanato@gmail.com>
Tue, 21 Sep 2021 13:37:47 +0000 (15:37 +0200)
committerGiacomo Stevanato <giaco.stevanato@gmail.com>
Mon, 27 Sep 2021 14:59:25 +0000 (16:59 +0200)
crates/hir_def/src/item_tree/tests.rs

index a153e17b17a83952d5fb22e11e451bcaa34aad6e..7671ccefd1714b3e4790e344836d381b2d0ad395 100644 (file)
@@ -340,12 +340,11 @@ impl<'a, 'b, T, const K: u8> S<'a, 'b, T, K>
                 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> {