Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-expand/src/change.rs')
| -rw-r--r-- | crates/hir-expand/src/change.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-expand/src/change.rs b/crates/hir-expand/src/change.rs index c6611438e6..8b9e5a59df 100644 --- a/crates/hir-expand/src/change.rs +++ b/crates/hir-expand/src/change.rs @@ -11,14 +11,14 @@ use triomphe::Arc; use crate::{db::ExpandDatabase, proc_macro::ProcMacros}; #[derive(Debug, Default)] -pub struct Change { +pub struct ChangeWithProcMacros { pub source_change: FileChange, pub proc_macros: Option<ProcMacros>, pub toolchains: Option<Vec<Option<Version>>>, pub target_data_layouts: Option<Vec<TargetLayoutLoadResult>>, } -impl Change { +impl ChangeWithProcMacros { pub fn new() -> Self { Self::default() } |