We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad85bc5 commit 05659c9Copy full SHA for 05659c9
compiler/rustc_codegen_llvm/src/builder/gpu_offload.rs
@@ -193,7 +193,7 @@ fn gen_define_handling<'ll>(
193
// reference) types.
194
let num_ptr_types = types
195
.iter()
196
- .map(|&x| matches!(cx.type_kind(x), rustc_codegen_ssa::common::TypeKind::Pointer))
+ .filter(|&x| matches!(cx.type_kind(x), rustc_codegen_ssa::common::TypeKind::Pointer))
197
.count();
198
199
// We do not know their size anymore at this level, so hardcode a placeholder.
0 commit comments