Skip to content

Commit d8b1ddb

Browse files
committed
Fix unused variable warning
1 parent b872e63 commit d8b1ddb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/infer/unify_key.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ impl<'tcx> UnifyValue for ConstVarValue<'tcx> {
131131
fn unify_values(value1: &Self, value2: &Self) -> Result<Self, Self::Error> {
132132
let val = match (value1.val, value2.val) {
133133
(
134-
ConstVariableValue::Known { value: value1 },
135-
ConstVariableValue::Known { value: value2 }
134+
ConstVariableValue::Known { .. },
135+
ConstVariableValue::Known { .. }
136136
) => {
137137
bug!("equating two const variables, both of which have known values")
138138
}

0 commit comments

Comments
 (0)