]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/infer/unify_key.rs
Auto merge of #103913 - Neutron3529:patch-1, r=thomcc
[rust.git] / compiler / rustc_middle / src / infer / unify_key.rs
index f2627885d030dc5db0eaf680042dcaf5f8c97bc1..41d8c7ffdb945e23bccf1953ddb87f20464f0bda 100644 (file)
@@ -129,7 +129,7 @@ fn tag() -> &'static str {
 }
 
 impl<'tcx> UnifyValue for ConstVarValue<'tcx> {
-    type Error = (ty::Const<'tcx>, ty::Const<'tcx>);
+    type Error = NoError;
 
     fn unify_values(&value1: &Self, &value2: &Self) -> Result<Self, Self::Error> {
         Ok(match (value1.val, value2.val) {