Add missing anonymous lifetime

This commit is contained in:
Jeremy Stucki 2022-12-20 22:34:42 +01:00
parent b4e9ba5cf3
commit 2d09c9bc94

View File

@ -44,7 +44,7 @@ pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &[u8]) ->
context.new_array_constructor(None, typ, &elements) context.new_array_constructor(None, typ, &elements)
} }
pub fn type_is_pointer(typ: Type) -> bool { pub fn type_is_pointer(typ: Type<'_>) -> bool {
typ.get_pointee().is_some() typ.get_pointee().is_some()
} }