From 894dc2d3d2b96e1f992324aa95125e0d161ab681 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Mon, 13 Jan 2020 15:36:05 +0100 Subject: [PATCH] Do not forget to provide queries. --- src/librustc_interface/passes.rs | 1 + src/librustc_passes/lib.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_interface/passes.rs b/src/librustc_interface/passes.rs index 9119466cbc0..787d9a8ed77 100644 --- a/src/librustc_interface/passes.rs +++ b/src/librustc_interface/passes.rs @@ -677,6 +677,7 @@ pub fn default_provide(providers: &mut ty::query::Providers<'_>) { rustc_passes::provide(providers); rustc_resolve::provide(providers); rustc_traits::provide(providers); + rustc_ty::provide(providers); rustc_metadata::provide(providers); rustc_lint::provide(providers); rustc_codegen_utils::provide(providers); diff --git a/src/librustc_passes/lib.rs b/src/librustc_passes/lib.rs index c45f83f2130..65eb07b989d 100644 --- a/src/librustc_passes/lib.rs +++ b/src/librustc_passes/lib.rs @@ -5,7 +5,6 @@ //! This API is completely unstable and subject to change. #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")] -#![feature(bool_to_option)] #![feature(in_band_lifetimes)] #![feature(nll)] #![feature(slice_patterns)]