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
|
@ -26,7 +26,6 @@ pub mod span_map;
|
|||
mod fixup;
|
||||
|
||||
use attrs::collect_attrs;
|
||||
use stdx::assert_eq_size;
|
||||
use triomphe::Arc;
|
||||
|
||||
use std::{fmt, hash::Hash};
|
||||
|
@ -176,7 +175,6 @@ pub struct MacroCallLoc {
|
|||
pub kind: MacroCallKind,
|
||||
pub call_site: Span,
|
||||
}
|
||||
assert_eq_size!(MacroCallLoc, 104);
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub struct MacroDefId {
|
||||
|
@ -187,7 +185,6 @@ pub struct MacroDefId {
|
|||
pub allow_internal_unsafe: bool,
|
||||
pub span: Span,
|
||||
}
|
||||
assert_eq_size!(MacroDefId, 44);
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum MacroDefKind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue