about summary refs log tree commit diff
path: root/compiler/rustc_session
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-03-25 09:46:19 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-04-26 07:46:13 +0200
commit66d85438cad26aee7ff0d123739edcc43e16bc4a (patch)
treeede9fb4276cd3f05176419c20adeebb84255558e /compiler/rustc_session
parent897a146006d1ceba4aeeffca5640fe1d9024b200 (diff)
downloadrust-66d85438cad26aee7ff0d123739edcc43e16bc4a.tar.gz
rust-66d85438cad26aee7ff0d123739edcc43e16bc4a.zip
Remove QueryEngine trait
Diffstat (limited to 'compiler/rustc_session')
-rw-r--r--compiler/rustc_session/src/session.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs
index 14a8e8ff727..aa22140c99d 100644
--- a/compiler/rustc_session/src/session.rs
+++ b/compiler/rustc_session/src/session.rs
@@ -1190,6 +1190,7 @@ impl Session {
 
     /// Returns the number of query threads that should be used for this
     /// compilation
+    #[inline]
     pub fn threads(&self) -> usize {
         self.opts.unstable_opts.threads
     }