mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Remove deps on tt_mbe
This commit is contained in:
parent
72e68d0caf
commit
db162df264
10 changed files with 58 additions and 49 deletions
|
@ -28,6 +28,13 @@ pub enum ExpandError {
|
|||
BindingError(String),
|
||||
ConversionError,
|
||||
InvalidRepeat,
|
||||
ProcMacroError(tt::ExpansionError),
|
||||
}
|
||||
|
||||
impl From<tt::ExpansionError> for ExpandError {
|
||||
fn from(it: tt::ExpansionError) -> Self {
|
||||
ExpandError::ProcMacroError(it)
|
||||
}
|
||||
}
|
||||
|
||||
pub use crate::syntax_bridge::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue