From e7142c74e21d85b04bca68c99cb5e30c6036058d Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 5 Dec 2025 18:42:21 +0100 Subject: [PATCH] meson/rust: allow explicit `if x.is_none { return None }` instead of `x?` Part-of: --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 2527d8e0b43..fc83a9869b0 100644 --- a/meson.build +++ b/meson.build @@ -828,6 +828,9 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or # "Needless lifetimes" might be needless but they're harmless and we # prefer being explicit, so allow them. '-Aclippy::needless_lifetimes', + + # Being explicit has value, allow it. + '-Aclippy::question_mark', ] rust_2024_lint_args = [