diff --git a/nac3core/src/type_check/context/inference_context.rs b/nac3core/src/type_check/context/inference_context.rs
index 7c3430310..bae2824d0 100644
--- a/nac3core/src/type_check/context/inference_context.rs
+++ b/nac3core/src/type_check/context/inference_context.rs
@@ -215,7 +215,7 @@ impl TypeEnum {
}
}
- pub fn get_base<'b: 'a, 'a>(&'a self, ctx: &'b InferenceContext) -> Option<&'b TypeDef> {
+ pub fn get_base<'a>(&'a self, ctx: &'a InferenceContext) -> Option<&'a TypeDef> {
match self {
TypeEnum::PrimitiveType(id) => Some(ctx.get_primitive_def(*id)),
TypeEnum::ClassType(id) | TypeEnum::VirtualClassType(id) => {
diff --git a/nac3core/src/type_check/expression_inference.rs b/nac3core/src/type_check/expression_inference.rs
index 42b7c4709..2424a72f0 100644
--- a/nac3core/src/type_check/expression_inference.rs
+++ b/nac3core/src/type_check/expression_inference.rs
@@ -11,9 +11,9 @@ use std::convert::TryInto;
type ParserResult = Result