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>(
100
100
}
101
101
102
102
pub 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.
113
103
fn extract_def_id ( & self , tcx : TyCtxt < ' _ > ) -> Option < DefId > ;
114
104
115
- /// Used in testing
116
105
fn from_label_string (
117
106
tcx : TyCtxt < ' _ > ,
118
107
label : & str ,
119
108
def_path_hash : DefPathHash ,
120
109
) -> Result < Self , ( ) > ;
121
110
122
- /// Used in testing
123
111
fn has_label_string ( label : & str ) -> bool ;
124
112
}
125
113
You can’t perform that action at this time.
0 commit comments