File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ pub enum DepNode<D: Clone + Debug> {
149
149
// not a hotspot.
150
150
ProjectionCache { def_ids : Vec < D > } ,
151
151
152
- // Depnodes for MetaData
153
152
DescribeDef ( D ) ,
154
153
DefSpan ( D ) ,
155
154
}
Original file line number Diff line number Diff line change @@ -576,8 +576,8 @@ define_maps! { <'tcx>
576
576
[ ] def_symbol_name: SymbolName ( DefId ) -> ty:: SymbolName ,
577
577
[ ] symbol_name: symbol_name_dep_node( ty:: Instance <' tcx>) -> ty:: SymbolName ,
578
578
579
- [ ] describe_def: describe_def ( DefId ) -> Option <Def >,
580
- [ ] def_span: def_span ( DefId ) -> Span
579
+ [ ] describe_def: DescribeDef ( DefId ) -> Option <Def >,
580
+ [ ] def_span: DefSpan ( DefId ) -> Span
581
581
}
582
582
583
583
fn coherent_trait_dep_node ( ( _, def_id) : ( CrateNum , DefId ) ) -> DepNode < DefId > {
@@ -608,12 +608,4 @@ fn typeck_item_bodies_dep_node(_: CrateNum) -> DepNode<DefId> {
608
608
609
609
fn const_eval_dep_node ( ( def_id, _) : ( DefId , & Substs ) ) -> DepNode < DefId > {
610
610
DepNode :: ConstEval ( def_id)
611
- }
612
-
613
- fn describe_def ( def_id : DefId ) -> DepNode < DefId > {
614
- DepNode :: DescribeDef ( def_id)
615
- }
616
-
617
- fn def_span ( def_id : DefId ) -> DepNode < DefId > {
618
- DepNode :: DefSpan ( def_id)
619
- }
611
+ }
You can’t perform that action at this time.
0 commit comments