mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 09:30:13 +01:00
meson/rust: allow else { if {} }
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
47ebdbab81
commit
af781dc7c8
1 changed files with 3 additions and 0 deletions
|
|
@ -821,6 +821,9 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or
|
||||||
endif
|
endif
|
||||||
|
|
||||||
rust_global_args = [
|
rust_global_args = [
|
||||||
|
# We want to be able to write `else { if {} }` when it makes more sense than
|
||||||
|
# collapsing it into `else if {}`.
|
||||||
|
'-Aclippy::collapsible_else_if',
|
||||||
]
|
]
|
||||||
|
|
||||||
rust_2024_lint_args = [
|
rust_2024_lint_args = [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue