@@ -998,7 +998,7 @@ impl<'tcx> ty::TyS<'tcx> {
998998
999999fn is_copy_raw < ' tcx > ( tcx : TyCtxt < ' tcx > , query : ty:: ParamEnvAnd < ' tcx , Ty < ' tcx > > ) -> bool {
10001000 let ( param_env, ty) = query. into_parts ( ) ;
1001- let trait_def_id = tcx. require_lang_item ( lang_items:: CopyTraitLangItem ) ;
1001+ let trait_def_id = tcx. require_lang_item ( lang_items:: CopyTraitLangItem , None ) ;
10021002 tcx. infer_ctxt ( )
10031003 . enter ( |infcx| traits:: type_known_to_meet_bound_modulo_regions (
10041004 & infcx,
@@ -1011,7 +1011,7 @@ fn is_copy_raw<'tcx>(tcx: TyCtxt<'tcx>, query: ty::ParamEnvAnd<'tcx, Ty<'tcx>>)
10111011
10121012fn is_sized_raw < ' tcx > ( tcx : TyCtxt < ' tcx > , query : ty:: ParamEnvAnd < ' tcx , Ty < ' tcx > > ) -> bool {
10131013 let ( param_env, ty) = query. into_parts ( ) ;
1014- let trait_def_id = tcx. require_lang_item ( lang_items:: SizedTraitLangItem ) ;
1014+ let trait_def_id = tcx. require_lang_item ( lang_items:: SizedTraitLangItem , None ) ;
10151015 tcx. infer_ctxt ( )
10161016 . enter ( |infcx| traits:: type_known_to_meet_bound_modulo_regions (
10171017 & infcx,
@@ -1024,7 +1024,7 @@ fn is_sized_raw<'tcx>(tcx: TyCtxt<'tcx>, query: ty::ParamEnvAnd<'tcx, Ty<'tcx>>)
10241024
10251025fn is_freeze_raw < ' tcx > ( tcx : TyCtxt < ' tcx > , query : ty:: ParamEnvAnd < ' tcx , Ty < ' tcx > > ) -> bool {
10261026 let ( param_env, ty) = query. into_parts ( ) ;
1027- let trait_def_id = tcx. require_lang_item ( lang_items:: FreezeTraitLangItem ) ;
1027+ let trait_def_id = tcx. require_lang_item ( lang_items:: FreezeTraitLangItem , None ) ;
10281028 tcx. infer_ctxt ( )
10291029 . enter ( |infcx| traits:: type_known_to_meet_bound_modulo_regions (
10301030 & infcx,
0 commit comments