about summary refs log tree commit diff
path: root/src/librustc/middle
diff options
context:
space:
mode:
authorTaylor Cramer <cramertaylorj@gmail.com>2017-04-28 01:28:22 -0700
committerTaylor Cramer <cramertj@google.com>2017-05-01 10:24:10 -0700
commitdaa0094eb791442c7f89645f00c5f33dbb9bf308 (patch)
treec9131fd8bc1cb0289acc0f550bd305879ef26ba5 /src/librustc/middle
parentfb4380b12db03264afbd085e1f654b0a38ecc3f2 (diff)
downloadrust-daa0094eb791442c7f89645f00c5f33dbb9bf308.tar.gz
rust-daa0094eb791442c7f89645f00c5f33dbb9bf308.zip
Queryify is_item_mir_available
Diffstat (limited to 'src/librustc/middle')
-rw-r--r--src/librustc/middle/cstore.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc/middle/cstore.rs b/src/librustc/middle/cstore.rs
index 3cb827cdf6c..50920ca7f7e 100644
--- a/src/librustc/middle/cstore.rs
+++ b/src/librustc/middle/cstore.rs
@@ -250,8 +250,6 @@ pub trait CrateStore {
     fn item_body<'a, 'tcx>(&self, tcx: TyCtxt<'a, 'tcx, 'tcx>, def: DefId)
                            -> &'tcx hir::Body;
 
-    fn is_item_mir_available(&self, def: DefId) -> bool;
-
     // This is basically a 1-based range of ints, which is a little
     // silly - I may fix that.
     fn crates(&self) -> Vec<CrateNum>;
@@ -399,10 +397,6 @@ impl CrateStore for DummyCrateStore {
         bug!("item_body")
     }
 
-    fn is_item_mir_available(&self, def: DefId) -> bool {
-        bug!("is_item_mir_available")
-    }
-
     // This is basically a 1-based range of ints, which is a little
     // silly - I may fix that.
     fn crates(&self) -> Vec<CrateNum> { vec![] }