Remove LastPrivate
This commit is contained in:
parent
ec0fdd5a4a
commit
8f32fdecfb
11 changed files with 43 additions and 372 deletions
|
|
@ -32,7 +32,6 @@ use middle::ty::cast;
|
|||
use middle::const_qualif::ConstQualif;
|
||||
use middle::def::{self, Def};
|
||||
use middle::def_id::DefId;
|
||||
use middle::privacy::{AllPublic, LastMod};
|
||||
use middle::region;
|
||||
use middle::subst;
|
||||
use middle::ty::{self, Ty};
|
||||
|
|
@ -1161,8 +1160,6 @@ fn decode_side_tables(dcx: &DecodeContext,
|
|||
let def = decode_def(dcx, val_dsr);
|
||||
dcx.tcx.def_map.borrow_mut().insert(id, def::PathResolution {
|
||||
base_def: def,
|
||||
// This doesn't matter cross-crate.
|
||||
last_private: LastMod(AllPublic),
|
||||
depth: 0
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue