From c06c4f968264226a8ce36b91545ec3e72e0b6364 Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Wed, 25 May 2022 18:31:08 +0200 Subject: [PATCH] Make test pass --- .../ide-assists/src/handlers/generate_enum_variant.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/ide-assists/src/handlers/generate_enum_variant.rs b/crates/ide-assists/src/handlers/generate_enum_variant.rs index 9b3fd8ed87c..b57076d9992 100644 --- a/crates/ide-assists/src/handlers/generate_enum_variant.rs +++ b/crates/ide-assists/src/handlers/generate_enum_variant.rs @@ -159,20 +159,10 @@ enum Foo { } ", r" -//- /main.rs -mod foo; -use foo::Foo; - -fn main() { - Foo::Baz -} - -//- /foo.rs enum Foo { Bar, Baz, } - ", ) }