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, } - ", ) }