librustc: De-@mut
building_library
in the session
This commit is contained in:
parent
c56bac7f40
commit
d7b152701e
8 changed files with 18 additions and 17 deletions
|
@ -69,7 +69,7 @@ impl fold::ast_fold for StandardLibraryInjector {
|
|||
span: dummy_sp()
|
||||
}];
|
||||
|
||||
if use_uv(&crate) && !*self.sess.building_library {
|
||||
if use_uv(&crate) && !self.sess.building_library.get() {
|
||||
vis.push(ast::view_item {
|
||||
node: ast::view_item_extern_mod(self.sess.ident_of("green"),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue