Unnamed repository; edit this file 'description' to name the repository.
Update failing test
Giacomo Stevanato 2021-09-27
parent 7f76a73 · commit 49ba313
-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 a153e17b17..7671ccefd1 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> {