diff --git a/src/nouveau/compiler/latencies/lat_rs_gen.py b/src/nouveau/compiler/latencies/lat_rs_gen.py index b537ca16c34..8b35e1bdb06 100644 --- a/src/nouveau/compiler/latencies/lat_rs_gen.py +++ b/src/nouveau/compiler/latencies/lat_rs_gen.py @@ -47,6 +47,7 @@ impl ${to_camel(reg_file)}Latency${sm.upper()} { use ${enum_name}::*; match ${bigcat.header.cat1} { % for cat in bigcat.header.cats: + #[allow(clippy::match_single_binding)] ${to_camel(cat)} => match ${bigcat.header.cat0} { <% has_non = False %> % for cat2 in bigcat.header.cats: