]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/infer/freshen.rs
Remove ty::BrFresh and new_bound
[rust.git] / src / librustc / infer / freshen.rs
index 679635bef13e5623436aab23f846427c4ad59306..8f52ef7a3f3a4c1d0ad8b827fcda24585aa67b1e 100644 (file)
@@ -260,7 +260,7 @@ fn fold_const(&mut self, ct: &'tcx ty::Const<'tcx>) -> &'tcx ty::Const<'tcx> {
 
             ConstValue::Param(_) |
             ConstValue::Scalar(_) |
-            ConstValue::Slice(..) |
+            ConstValue::Slice { .. } |
             ConstValue::ByRef(..) |
             ConstValue::Unevaluated(..) => {}
         }