We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b872e63 commit d8b1ddbCopy full SHA for d8b1ddb
src/librustc/infer/unify_key.rs
@@ -131,8 +131,8 @@ impl<'tcx> UnifyValue for ConstVarValue<'tcx> {
131
fn unify_values(value1: &Self, value2: &Self) -> Result<Self, Self::Error> {
132
let val = match (value1.val, value2.val) {
133
(
134
- ConstVariableValue::Known { value: value1 },
135
- ConstVariableValue::Known { value: value2 }
+ ConstVariableValue::Known { .. },
+ ConstVariableValue::Known { .. }
136
) => {
137
bug!("equating two const variables, both of which have known values")
138
}
0 commit comments