mirror of
				https://github.com/apache/datafusion-sqlparser-rs.git
				synced 2025-10-30 23:07:04 +00:00 
			
		
		
		
	Clean up nightly clippy lints (#1158)
This commit is contained in:
		
							parent
							
								
									e2ce324722
								
							
						
					
					
						commit
						10cc54e10e
					
				
					 7 changed files with 10 additions and 8 deletions
				
			
		|  | @ -5219,7 +5219,13 @@ impl fmt::Display for CopyLegacyCsvOption { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| /// `MERGE` Statement
 | ||||
| ///
 | ||||
| /// ```sql
 | ||||
| /// MERGE INTO <target_table> USING <source> ON <join_expr> { matchedClause | notMatchedClause } [ ... ]
 | ||||
| /// ```
 | ||||
| ///
 | ||||
| /// See [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/merge)
 | ||||
| #[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)] | ||||
| #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] | ||||
| #[cfg_attr(feature = "visitor", derive(Visit, VisitMut))] | ||||
|  |  | |||
|  | @ -207,8 +207,6 @@ pub fn dialect_from_str(dialect_name: impl AsRef<str>) -> Option<Box<dyn Dialect | |||
| 
 | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use super::ansi::AnsiDialect; | ||||
|     use super::generic::GenericDialect; | ||||
|     use super::*; | ||||
| 
 | ||||
|     struct DialectHolder<'a> { | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ use IsOptional::*; | |||
| use crate::ast::helpers::stmt_create_table::{BigQueryTableConfiguration, CreateTableBuilder}; | ||||
| use crate::ast::*; | ||||
| use crate::dialect::*; | ||||
| use crate::keywords::{self, Keyword, ALL_KEYWORDS}; | ||||
| use crate::keywords::{Keyword, ALL_KEYWORDS}; | ||||
| use crate::tokenizer::*; | ||||
| 
 | ||||
| mod alter; | ||||
|  |  | |||
|  | @ -1506,7 +1506,7 @@ impl<'a: 'b, 'b> Unescape<'a, 'b> { | |||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use super::*; | ||||
|     use crate::dialect::{ClickHouseDialect, GenericDialect, MsSqlDialect}; | ||||
|     use crate::dialect::{ClickHouseDialect, MsSqlDialect}; | ||||
| 
 | ||||
|     #[test] | ||||
|     fn tokenizer_error_impl() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew Lamb
						Andrew Lamb