Skip to content

Commit 2c9d9bf

Browse files
committed
Add missing anonymous lifetime
1 parent 42d100a commit 2c9d9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_gcc/src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &[u8]) ->
4444
context.new_array_constructor(None, typ, &elements)
4545
}
4646

47-
pub fn type_is_pointer(typ: Type) -> bool {
47+
pub fn type_is_pointer(typ: Type<'_>) -> bool {
4848
typ.get_pointee().is_some()
4949
}
5050

0 commit comments

Comments
 (0)