Running into lifetime issues.

This commit is contained in:
Tom Alexander
2020-05-10 14:53:12 -04:00
parent c8cf6a78a0
commit 7e0e776486
3 changed files with 16 additions and 1 deletions

View File

@@ -25,3 +25,9 @@ pub trait Loopable {
/// for each element of the array.
fn get_loop_elements(&self) -> Vec<&dyn ContextElement>;
}
impl PartialEq<dyn ContextElement> for dyn ContextElement {
fn eq(&self, other: &dyn ContextElement) -> bool {
todo!()
}
}