-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
C-bugCategory: bugCategory: bug
Description
The line break before the backtick causes incorrect Markdown rendering.
The reason is that rust-analyzer responds with a \n before the backtick.
Steps to reproduce:
- Create a new project with cargo new.
- Rename src/main.rs with src/lib.rs.
- Override the contents of the file with this.
code snippet to reproduce:
mod front_of_house {
pub mod hosting {
pub fn add_to_waitlist() {}
}
}
mod customer {
pub fn eat_at_restaurant() {
hosting::add_to_waitlist();
}
}rust-analyzer version: 0.3.2743
rustc version: rustc 1.91.1 (ed61e7d7e 2025-11-07)
editor or extension: VSCode
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug