]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/base.rs
resolve/expand: Move macro stability checking to an earlier point
[rust.git] / src / libsyntax / ext / base.rs
index 57dabf98d2cc69901ccce04ad9238773e90d8cd4..bde989a464b4158456b142129593bbf5a181f681 100644 (file)
@@ -738,7 +738,6 @@ pub struct ExpansionData {
     pub depth: usize,
     pub module: Rc<ModuleData>,
     pub directory_ownership: DirectoryOwnership,
-    pub crate_span: Option<Span>,
 }
 
 /// One of these is made during expansion and incrementally updated as we go;
@@ -768,7 +767,6 @@ pub fn new(parse_sess: &'a parse::ParseSess,
                 depth: 0,
                 module: Rc::new(ModuleData { mod_path: Vec::new(), directory: PathBuf::new() }),
                 directory_ownership: DirectoryOwnership::Owned { relative: None },
-                crate_span: None,
             },
             expansions: FxHashMap::default(),
         }