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 {
526526 /// parent `DefId` as well as some idea of what kind of data the
527527 /// `DefId` refers to.
528528 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));
535529 self . get_crate_data ( def. krate ) . def_key ( def. index )
536530 }
537531
538532 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));
543533 self . get_crate_data ( def. krate ) . def_path ( def. index )
544534 }
545535
You can’t perform that action at this time.
0 commit comments