Box DeclaredValue::WithVariables

This commit is contained in:
Nazım Can Altınova 2017-02-09 03:23:50 +03:00 committed by Simon Sapin
parent 43731c5757
commit adb6d20293
6 changed files with 53 additions and 44 deletions

View file

@ -361,7 +361,7 @@ pub fn cascade<'a>(custom_properties: &mut Option<HashMap<&'a Name, BorrowedSpec
references: Some(&specified_value.references),
});
},
DeclaredValue::WithVariables { .. } => unreachable!(),
DeclaredValue::WithVariables(_) => unreachable!(),
DeclaredValue::Initial => {
map.remove(&name);
}