Make Compiler::sess private.

Like `Compiler::codegen_backend`.
This commit is contained in:
Nicholas Nethercote 2023-11-17 09:44:28 +11:00
parent 4a57b80f3f
commit 9582172964
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ impl<'tcx> Queries<'tcx> {
}
fn session(&self) -> &Session {
&self.compiler.sess
&self.compiler.session()
}
fn codegen_backend(&self) -> &dyn CodegenBackend {