about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-06-25 08:10:29 -0400
committerAntoni Boucher <bouanto@zoho.com>2024-06-25 08:10:29 -0400
commit16e1ad7327b070a11d4bbf01a343c24e2dd34553 (patch)
tree1147fffb7248825255d5d5eb25870ea47ead8958
parentdabf5faff0bb0154d702561266826cc0cd53eec4 (diff)
downloadrust-16e1ad7327b070a11d4bbf01a343c24e2dd34553.tar.gz
rust-16e1ad7327b070a11d4bbf01a343c24e2dd34553.zip
Fix clippy warnings
-rw-r--r--src/context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context.rs b/src/context.rs
index 6beed91270b..5ece10cc70d 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -129,6 +129,7 @@ pub struct CodegenCx<'gcc, 'tcx> {
 }
 
 impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
+    #[allow(clippy::too_many_arguments)]
     pub fn new(
         context: &'gcc Context<'gcc>,
         codegen_unit: &'tcx CodegenUnit<'tcx>,