diff --git a/crates/ide/src/typing/on_enter.rs b/crates/ide/src/typing/on_enter.rs index a0dc4b9df6..98adef1d6f 100644 --- a/crates/ide/src/typing/on_enter.rs +++ b/crates/ide/src/typing/on_enter.rs @@ -51,12 +51,12 @@ pub(crate) fn on_enter(db: &RootDatabase, position: FilePosition) -> Option Option + let x = 1 + 1; +} +", + " +fn main() { + // Fix me + // $0 + let x = 1 + 1; +} +", + ); + } }