diff options
Diffstat (limited to 'src/librustc/driver/session.rs')
| -rw-r--r-- | src/librustc/driver/session.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/driver/session.rs b/src/librustc/driver/session.rs index a412742ab3a..5d3069bbf3e 100644 --- a/src/librustc/driver/session.rs +++ b/src/librustc/driver/session.rs @@ -181,7 +181,7 @@ pub struct Session { // For a library crate, this is always none pub entry_fn: RefCell<Option<(NodeId, codemap::Span)>>, pub entry_type: Cell<Option<EntryFnType>>, - pub macro_registrar_fn: RefCell<Option<ast::DefId>>, + pub macro_registrar_fn: Cell<Option<ast::NodeId>>, pub default_sysroot: Option<Path>, pub building_library: Cell<bool>, // The name of the root source file of the crate, in the local file system. The path is always |
