introduce infcx.at(..).normalize(..) operation [VIC]
It is backed by the new `normalize_projection_ty` query, which uses canonicalization.
This commit is contained in:
parent
8c024fdafb
commit
3a50b41da4
23 changed files with 637 additions and 10 deletions
|
|
@ -28,6 +28,7 @@ rustc_plugin = { path = "../librustc_plugin" }
|
|||
rustc_privacy = { path = "../librustc_privacy" }
|
||||
rustc_resolve = { path = "../librustc_resolve" }
|
||||
rustc_save_analysis = { path = "../librustc_save_analysis" }
|
||||
rustc_traits = { path = "../librustc_traits" }
|
||||
rustc_trans_utils = { path = "../librustc_trans_utils" }
|
||||
rustc_typeck = { path = "../librustc_typeck" }
|
||||
serialize = { path = "../libserialize" }
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ use rustc_incremental;
|
|||
use rustc_resolve::{MakeGlobMap, Resolver, ResolverArenas};
|
||||
use rustc_metadata::creader::CrateLoader;
|
||||
use rustc_metadata::cstore::{self, CStore};
|
||||
use rustc_traits;
|
||||
use rustc_trans_utils::trans_crate::TransCrate;
|
||||
use rustc_typeck as typeck;
|
||||
use rustc_privacy;
|
||||
|
|
@ -942,6 +943,7 @@ pub fn default_provide(providers: &mut ty::maps::Providers) {
|
|||
traits::provide(providers);
|
||||
reachable::provide(providers);
|
||||
rustc_passes::provide(providers);
|
||||
rustc_traits::provide(providers);
|
||||
middle::region::provide(providers);
|
||||
cstore::provide(providers);
|
||||
lint::provide(providers);
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ extern crate rustc_metadata;
|
|||
extern crate rustc_mir;
|
||||
extern crate rustc_resolve;
|
||||
extern crate rustc_save_analysis;
|
||||
extern crate rustc_traits;
|
||||
extern crate rustc_trans_utils;
|
||||
extern crate rustc_typeck;
|
||||
extern crate serialize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue