Running into lifetime issues.
This commit is contained in:
@@ -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!()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user