about summary refs log tree commit diff
path: root/src/librustc/query
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-26 01:22:16 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-09-27 19:48:07 +0200
commitdfd365f3e4fed3df101bd2d3ea01c494f40bd345 (patch)
tree4c8f409ee224739300114c1844544c8240cefe47 /src/librustc/query
parentdefd5088d616bb324c92069b2c1129b76bc0ff94 (diff)
downloadrust-dfd365f3e4fed3df101bd2d3ea01c494f40bd345.tar.gz
rust-dfd365f3e4fed3df101bd2d3ea01c494f40bd345.zip
cleanup dead ast-borrowck / migrate-mode code.
Diffstat (limited to 'src/librustc/query')
-rw-r--r--src/librustc/query/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs
index 6de351fa13a..4b1558592ae 100644
--- a/src/librustc/query/mod.rs
+++ b/src/librustc/query/mod.rs
@@ -397,10 +397,6 @@ rustc_queries! {
     }
 
     BorrowChecking {
-        query borrowck(key: DefId) -> &'tcx BorrowCheckResult {
-            cache_on_disk_if { key.is_local() }
-        }
-
         /// Borrow-checks the function body. If this is a closure, returns
         /// additional requirements that the closure's creator must verify.
         query mir_borrowck(key: DefId) -> mir::BorrowCheckResult<'tcx> {