mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Remove span generics from most of the mbe crate
This commit is contained in:
parent
255a8aef92
commit
7e88fa5d3a
8 changed files with 187 additions and 228 deletions
|
@ -54,11 +54,9 @@ use crate::{
|
|||
|
||||
pub use crate::files::{AstId, ErasedAstId, InFile, InMacroFile, InRealFile};
|
||||
|
||||
pub use mbe::ValueResult;
|
||||
pub use mbe::{DeclarativeMacro, ValueResult};
|
||||
pub use span::{HirFileId, MacroCallId, MacroFileId};
|
||||
|
||||
pub type DeclarativeMacro = ::mbe::DeclarativeMacro<tt::Span>;
|
||||
|
||||
pub mod tt {
|
||||
pub use span::Span;
|
||||
pub use tt::{DelimiterKind, Spacing};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue