@@ -550,7 +550,7 @@ impl<'a, 'b, 'tcx> TypeVerifier<'a, 'b, 'tcx> {
550
550
let trait_ref = tcx. mk_trait_ref (
551
551
tcx. require_lang_item ( LangItem :: Copy , Some ( self . last_span ) ) ,
552
552
place_ty. ty ,
553
- & [ ] ,
553
+ [ ] ,
554
554
) ;
555
555
556
556
// To have a `Copy` operand, the type `T` of the
@@ -1277,7 +1277,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
1277
1277
let trait_ref = tcx. mk_trait_ref (
1278
1278
tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
1279
1279
place_ty,
1280
- & [ ] ,
1280
+ [ ] ,
1281
1281
) ;
1282
1282
self . prove_trait_ref (
1283
1283
trait_ref,
@@ -1870,7 +1870,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
1870
1870
let trait_ref = tcx. mk_trait_ref (
1871
1871
tcx. require_lang_item ( LangItem :: Copy , Some ( span) ) ,
1872
1872
ty,
1873
- & [ ] ,
1873
+ [ ] ,
1874
1874
) ;
1875
1875
1876
1876
self . prove_trait_ref (
@@ -1887,7 +1887,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
1887
1887
let trait_ref = tcx. mk_trait_ref (
1888
1888
tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
1889
1889
ty,
1890
- & [ ] ,
1890
+ [ ] ,
1891
1891
) ;
1892
1892
1893
1893
self . prove_trait_ref (
@@ -1903,7 +1903,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
1903
1903
let trait_ref = tcx. mk_trait_ref (
1904
1904
tcx. require_lang_item ( LangItem :: Sized , Some ( self . last_span ) ) ,
1905
1905
* ty,
1906
- & [ ] ,
1906
+ [ ] ,
1907
1907
) ;
1908
1908
1909
1909
self . prove_trait_ref (
@@ -2004,7 +2004,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
2004
2004
let trait_ref = tcx. mk_trait_ref (
2005
2005
tcx. require_lang_item ( LangItem :: CoerceUnsized , Some ( self . last_span ) ) ,
2006
2006
op. ty ( body, tcx) ,
2007
- & [ ty. into ( ) ] ,
2007
+ [ ty. into ( ) ] ,
2008
2008
) ;
2009
2009
2010
2010
self . prove_trait_ref (
0 commit comments