You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by lu...@apache.org on 2026/10/17 10:35:18 UTC

(datafusion-sqlparser-rs) 01/01: Deny clippy::dbg_macro and clippy::todo

This is an automated email from the ASF dual-hosted git repository.

LucaCappelletti94 pushed a commit to branch deny-dbg-macro-todo
in repository https://gitbox.apache.org/repos/asf/datafusion-sqlparser-rs.git

commit fa041dc1ece8007d5a8f0962e5b7786c7104d6ca
Author: LucaCappelletti94 <ca...@gmail.com>
AuthorDate: Sat Oct 17 12:35:08 2026 +0200

    Deny clippy::dbg_macro and clippy::todo
---
 Cargo.toml       | 2 ++
 src/ast/spans.rs | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index d66a4e7eb..8b1ab55dd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -43,9 +43,11 @@ unsafe_code = "forbid"
 allow_attributes = "deny"
 allow_attributes_without_reason = "deny"
 assertions_on_result_states = "deny"
+dbg_macro = "deny"
 ignore_without_reason = "deny"
 manual_assert_eq = "deny"
 should_panic_without_expect = "deny"
+todo = "deny"
 
 [workspace]
 members = ["sqlparser_bench"]
diff --git a/src/ast/spans.rs b/src/ast/spans.rs
index a17eba20c..eab9f71a3 100644
--- a/src/ast/spans.rs
+++ b/src/ast/spans.rs
@@ -2899,8 +2899,6 @@ WHERE id = 1
         let r = Parser::parse_sql(&crate::dialect::GenericDialect, sql).unwrap();
         assert_eq!(1, r.len());
 
-        dbg!(&r[0]);
-
         let stmt_span = r[0].span();
 
         assert_eq!(stmt_span.start, (2, 11).into());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org