mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-17 02:42:54 +00:00
Fix highlighting for extern crate in doc comments
This commit is contained in:
parent
f5e7172e96
commit
de77d7f661
3 changed files with 7 additions and 0 deletions
|
|
@ -722,6 +722,9 @@ fn test_highlight_doc_comment() {
|
|||
//! fn test() {}
|
||||
//! ```
|
||||
|
||||
//! ```rust
|
||||
//! extern crate Krate;
|
||||
//! ```
|
||||
mod outline_module;
|
||||
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue