File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -804,7 +804,9 @@ rustc_queries! {
804
804
TypeChecking {
805
805
query impl_defaultness( _: DefId ) -> hir:: Defaultness { }
806
806
807
- query check_item_well_formed( _: DefId ) -> ( ) { }
807
+ query check_item_well_formed( key: LocalDefId ) -> ( ) {
808
+ desc { |tcx| "processing `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
809
+ }
808
810
query check_trait_item_well_formed( _: DefId ) -> ( ) { }
809
811
query check_impl_item_well_formed( _: DefId ) -> ( ) { }
810
812
}
Original file line number Diff line number Diff line change @@ -754,8 +754,8 @@ fn typeck_item_bodies(tcx: TyCtxt<'_>, crate_num: CrateNum) {
754
754
} ) ;
755
755
}
756
756
757
- fn check_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : DefId ) {
758
- wfcheck:: check_item_well_formed ( tcx, def_id. expect_local ( ) ) ;
757
+ fn check_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : LocalDefId ) {
758
+ wfcheck:: check_item_well_formed ( tcx, def_id) ;
759
759
}
760
760
761
761
fn check_trait_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : DefId ) {
You can’t perform that action at this time.
0 commit comments