File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -526,20 +526,10 @@ impl CrateStore for cstore::CStore {
526
526
/// parent `DefId` as well as some idea of what kind of data the
527
527
/// `DefId` refers to.
528
528
fn def_key ( & self , def : DefId ) -> DefKey {
529
- // Note: loading the def-key (or def-path) for a def-id is not
530
- // a *read* of its metadata. This is because the def-id is
531
- // really just an interned shorthand for a def-path, which is the
532
- // canonical name for an item.
533
- //
534
- // self.dep_graph.read(DepNode::MetaData(def));
535
529
self . get_crate_data ( def. krate ) . def_key ( def. index )
536
530
}
537
531
538
532
fn def_path ( & self , def : DefId ) -> DefPath {
539
- // See `Note` above in `def_key()` for why this read is
540
- // commented out:
541
- //
542
- // self.dep_graph.read(DepNode::MetaData(def));
543
533
self . get_crate_data ( def. krate ) . def_path ( def. index )
544
534
}
545
535
You can’t perform that action at this time.
0 commit comments