File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
compiler/rustc_middle/src/dep_graph Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -100,26 +100,14 @@ pub(crate) fn make_compile_mono_item<'tcx>(
100100}
101101
102102pub trait DepNodeExt : Sized {
103- /// Extracts the DefId corresponding to this DepNode. This will work
104- /// if two conditions are met:
105- ///
106- /// 1. The Fingerprint of the DepNode actually is a DefPathHash, and
107- /// 2. the item that the DefPath refers to exists in the current tcx.
108- ///
109- /// Condition (1) is determined by the DepKind variant of the
110- /// DepNode. Condition (2) might not be fulfilled if a DepNode
111- /// refers to something from the previous compilation session that
112- /// has been removed.
113103 fn extract_def_id ( & self , tcx : TyCtxt < ' _ > ) -> Option < DefId > ;
114104
115- /// Used in testing
116105 fn from_label_string (
117106 tcx : TyCtxt < ' _ > ,
118107 label : & str ,
119108 def_path_hash : DefPathHash ,
120109 ) -> Result < Self , ( ) > ;
121110
122- /// Used in testing
123111 fn has_label_string ( label : & str ) -> bool ;
124112}
125113
You can’t perform that action at this time.
0 commit comments