@@ -550,7 +550,7 @@ impl<'a, 'b, 'tcx> TypeVerifier<'a, 'b, 'tcx> {
550550 let trait_ref = tcx. mk_trait_ref (
551551 tcx. require_lang_item ( LangItem :: Copy , Some ( self . last_span ) ) ,
552552 place_ty. ty ,
553- & [ ] ,
553+ [ ] ,
554554 ) ;
555555
556556 // To have a `Copy` operand, the type `T` of the
@@ -1277,7 +1277,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
12771277 let trait_ref = tcx. mk_trait_ref (
12781278 tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
12791279 place_ty,
1280- & [ ] ,
1280+ [ ] ,
12811281 ) ;
12821282 self . prove_trait_ref (
12831283 trait_ref,
@@ -1870,7 +1870,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
18701870 let trait_ref = tcx. mk_trait_ref (
18711871 tcx. require_lang_item ( LangItem :: Copy , Some ( span) ) ,
18721872 ty,
1873- & [ ] ,
1873+ [ ] ,
18741874 ) ;
18751875
18761876 self . prove_trait_ref (
@@ -1887,7 +1887,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
18871887 let trait_ref = tcx. mk_trait_ref (
18881888 tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
18891889 ty,
1890- & [ ] ,
1890+ [ ] ,
18911891 ) ;
18921892
18931893 self . prove_trait_ref (
@@ -1903,7 +1903,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
19031903 let trait_ref = tcx. mk_trait_ref (
19041904 tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
19051905 * ty,
1906- & [ ] ,
1906+ [ ] ,
19071907 ) ;
19081908
19091909 self . prove_trait_ref (
@@ -2004,7 +2004,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
20042004 let trait_ref = tcx. mk_trait_ref (
20052005 tcx. require_lang_item ( LangItem :: CoerceUnsized , Some ( self . last_span ) ) ,
20062006 op. ty ( body, tcx) ,
2007- & [ ty. into ( ) ] ,
2007+ [ ty. into ( ) ] ,
20082008 ) ;
20092009
20102010 self . prove_trait_ref (
0 commit comments