mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Don't parse intra doc links as syntax trees
This commit is contained in:
parent
5a343415e8
commit
6cf7b5f8d7
8 changed files with 33 additions and 55 deletions
|
@ -15,7 +15,6 @@ use crate::{
|
|||
use base_db::CrateId;
|
||||
use smallvec::SmallVec;
|
||||
use span::SyntaxContextId;
|
||||
use stdx::assert_eq_size;
|
||||
use syntax::{ast, AstNode};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
@ -23,7 +22,6 @@ pub struct ModPath {
|
|||
pub kind: PathKind,
|
||||
segments: SmallVec<[Name; 1]>,
|
||||
}
|
||||
assert_eq_size!(ModPath, 40);
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
pub struct UnescapedModPath<'a>(&'a ModPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue