-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Broken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediatelyS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
Pasting the following snippet in a file causes the highlighting to break
//! This is a module to test doc injection.
//! ```
//! fn test() {}
//! ```
/// This is an impl with a code block.
///
/// ```
/// fn foo() {
///
/// }
/// ```
impl () {}This only seems to happen for when the annotated item is an impl, another requirement is that number of lines of doc comments on the impl have to be at least 3 more than the inner doc comments. This also breaks hovering on intra doc links so this seems to be a problem with the source mapping?
This impl stuff seems so oddly specific ...
Metadata
Metadata
Assignees
Labels
Broken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediatelyS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
