From f5c3e83013700835cfd64215b482b8dffe1f71be Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 30 May 2021 17:24:54 +0200 Subject: Avoid a branch on key being local for queries that use the same local and extern providers --- compiler/rustc_interface/src/interface.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/rustc_interface/src/interface.rs') diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 81585f8f4e4..7a6a643e3d0 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -38,7 +38,7 @@ pub struct Compiler { pub(crate) output_file: Option, pub(crate) register_lints: Option>, pub(crate) override_queries: - Option, + Option, } impl Compiler { @@ -155,7 +155,7 @@ pub struct Config { /// /// The second parameter is local providers and the third parameter is external providers. pub override_queries: - Option, + Option, /// This is a callback from the driver that is called to create a codegen backend. pub make_codegen_backend: -- cgit 1.4.1-3-g733a5