diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-12-30 18:48:40 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-07 00:29:22 +0200 |
| commit | 31a61ccc38201a13c2549b20772daf15ce0e0309 (patch) | |
| tree | f9baddd165b05723592499259b86f7947344ca3d /compiler/rustc_interface/src | |
| parent | 8ceea01bb442b9746a51b062ce25abbf46d866b2 (diff) | |
| download | rust-31a61ccc38201a13c2549b20772daf15ce0e0309.tar.gz rust-31a61ccc38201a13c2549b20772daf15ce0e0309.zip | |
Move rustc_mir::borrow_check to new crate rustc_borrowck.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 1d542db9b69..df03ff59f46 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -4,6 +4,7 @@ use crate::util; use rustc_ast::mut_visit::MutVisitor; use rustc_ast::{self as ast, visit}; +use rustc_borrowck as mir_borrowck; use rustc_codegen_ssa::back::link::emit_metadata; use rustc_codegen_ssa::traits::CodegenBackend; use rustc_data_structures::parallel; @@ -739,6 +740,7 @@ pub static DEFAULT_QUERY_PROVIDERS: SyncLazy<Providers> = SyncLazy::new(|| { proc_macro_decls::provide(providers); rustc_middle::hir::provide(providers); mir::provide(providers); + mir_borrowck::provide(providers); mir_build::provide(providers); rustc_privacy::provide(providers); typeck::provide(providers); |
