Skip to content

Commit 204bdc5

Browse files
authored
Fix logical conflict (#785)
1 parent 17f604f commit 204bdc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ast/query.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ pub enum SelectItem {
373373
/// ```
374374
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
375375
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
376-
#[cfg_attr(feature = "visitor", derive(Visit))]
376+
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
377377
pub struct IdentWithAlias {
378378
pub ident: Ident,
379379
pub alias: Ident,
@@ -463,7 +463,7 @@ impl fmt::Display for ExcludeSelectItem {
463463
/// ```
464464
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
465465
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
466-
#[cfg_attr(feature = "visitor", derive(Visit))]
466+
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
467467
pub enum RenameSelectItem {
468468
/// Single column name with alias without parenthesis.
469469
///

0 commit comments

Comments
 (0)