diff --git a/crates/hir_def/src/item_tree/tests.rs b/crates/hir_def/src/item_tree/tests.rs index a153e17b17a8..7671ccefd171 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( + pub(self) fn f( _: impl Copy, ) -> impl Copy where - G: 'a, - _anon_1: Copy; + G: 'a; } pub(self) enum Enum<'a, T, const U: u8> {