Skip to content

Commit 8d85dbd

Browse files
committed
Mark skip_from field only for corresponding feature
1 parent a5363ae commit 8d85dbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

diesel/src/query_builder/ast_pass.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,5 +312,6 @@ where
312312
/// This is used to pass down additional settings to the `AstPass`
313313
/// when rendering the sql string.
314314
pub(crate) struct AstPassToSqlOptions {
315+
#[cfg(feature = "skip-from")]
315316
skip_from: bool,
316317
}

0 commit comments

Comments
 (0)