diff --git a/compiler_base/session/src/lib.rs b/compiler_base/session/src/lib.rs index ffdf8bd59..c1dbe739e 100644 --- a/compiler_base/session/src/lib.rs +++ b/compiler_base/session/src/lib.rs @@ -9,8 +9,8 @@ use std::sync::Arc; /// Note: TODO(zongz): This is a WIP structure. /// Currently only contains the part related to error diagnostic displaying. pub struct Session { - sm: Arc, - diag_handler: Arc, + pub sm: Arc, + pub diag_handler: Arc, } impl Session {