diff options
| author | Taylor Cramer <cramertaylorj@gmail.com> | 2017-04-28 01:28:22 -0700 |
|---|---|---|
| committer | Taylor Cramer <cramertj@google.com> | 2017-05-01 10:24:10 -0700 |
| commit | daa0094eb791442c7f89645f00c5f33dbb9bf308 (patch) | |
| tree | c9131fd8bc1cb0289acc0f550bd305879ef26ba5 /src/librustc/middle | |
| parent | fb4380b12db03264afbd085e1f654b0a38ecc3f2 (diff) | |
| download | rust-daa0094eb791442c7f89645f00c5f33dbb9bf308.tar.gz rust-daa0094eb791442c7f89645f00c5f33dbb9bf308.zip | |
Queryify is_item_mir_available
Diffstat (limited to 'src/librustc/middle')
| -rw-r--r-- | src/librustc/middle/cstore.rs | 6 |
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![] } |
