about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJeremy Stucki <dev@jeremystucki.ch>2022-12-20 22:34:42 +0100
committerJeremy Stucki <dev@jeremystucki.ch>2022-12-20 22:34:42 +0100
commit2c9d9bf381e0643ccb0a777d19473ab939ebf6ae (patch)
treec3a9b6fbf9cea79a8f79739f40785736b9dae50b /compiler/rustc_codegen_gcc
parent42d100aad02031121ae2390c0dc5197131e93740 (diff)
downloadrust-2c9d9bf381e0643ccb0a777d19473ab939ebf6ae.tar.gz
rust-2c9d9bf381e0643ccb0a777d19473ab939ebf6ae.zip
Add missing anonymous lifetime
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/common.rs b/compiler/rustc_codegen_gcc/src/common.rs
index d7df1347121..0afc56b4494 100644
--- a/compiler/rustc_codegen_gcc/src/common.rs
+++ b/compiler/rustc_codegen_gcc/src/common.rs
@@ -44,7 +44,7 @@ pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &[u8]) ->
     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()
 }