Make Compiler::sess
private.
Like `Compiler::codegen_backend`.
This commit is contained in:
parent
4a57b80f3f
commit
9582172964
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ impl<'tcx> Queries<'tcx> {
|
|||
}
|
||||
|
||||
fn session(&self) -> &Session {
|
||||
&self.compiler.sess
|
||||
&self.compiler.session()
|
||||
}
|
||||
|
||||
fn codegen_backend(&self) -> &dyn CodegenBackend {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue