mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
introduce FromSource trait
This commit is contained in:
parent
c35ef7e1ed
commit
2867c40925
13 changed files with 294 additions and 138 deletions
|
@ -53,6 +53,8 @@ pub mod diagnostics;
|
|||
|
||||
mod code_model;
|
||||
|
||||
pub mod from_source;
|
||||
|
||||
#[cfg(test)]
|
||||
mod marks;
|
||||
|
||||
|
@ -67,6 +69,7 @@ pub use self::{
|
|||
adt::VariantDef,
|
||||
either::Either,
|
||||
expr::ExprScopes,
|
||||
from_source::FromSource,
|
||||
generics::{GenericParam, GenericParams, HasGenericParams},
|
||||
ids::{HirFileId, MacroCallId, MacroCallLoc, MacroDefId, MacroFile},
|
||||
impl_block::ImplBlock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue