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 @@ -807,7 +807,9 @@ rustc_queries! {
807
807
query check_item_well_formed( key: LocalDefId ) -> ( ) {
808
808
desc { |tcx| "processing `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
809
809
}
810
- query check_trait_item_well_formed( _: DefId ) -> ( ) { }
810
+ query check_trait_item_well_formed( key: LocalDefId ) -> ( ) {
811
+ desc { |tcx| "processing `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
812
+ }
811
813
query check_impl_item_well_formed( _: DefId ) -> ( ) { }
812
814
}
813
815
Original file line number Diff line number Diff line change @@ -758,8 +758,8 @@ fn check_item_well_formed(tcx: TyCtxt<'_>, def_id: LocalDefId) {
758
758
wfcheck:: check_item_well_formed ( tcx, def_id) ;
759
759
}
760
760
761
- fn check_trait_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : DefId ) {
762
- wfcheck:: check_trait_item ( tcx, def_id. expect_local ( ) ) ;
761
+ fn check_trait_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : LocalDefId ) {
762
+ wfcheck:: check_trait_item ( tcx, def_id) ;
763
763
}
764
764
765
765
fn check_impl_item_well_formed ( tcx : TyCtxt < ' _ > , def_id : DefId ) {
You can’t perform that action at this time.
0 commit comments