Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress unused_import if no backend is enabled #3699

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

cr0sh
Copy link
Contributor

@cr0sh cr0sh commented Jul 15, 2023

Minimal reproduction: cargo check -p diesel --no-default-features

   Compiling proc-macro2 v1.0.64
   Compiling quote v1.0.29
   Compiling unicode-ident v1.0.11
   Compiling syn v2.0.26
   Compiling diesel_table_macro_syntax v0.1.0 (/Users/namjh/dev/personal/diesel/diesel_table_macro_syntax)
   Compiling diesel_derives v2.1.0 (/Users/namjh/dev/personal/diesel/diesel_derives)
    Checking diesel v2.1.0 (/Users/namjh/dev/personal/diesel/diesel)
warning: unused import: `RowSealed`
  --> diesel/src/row.rs:13:44
   |
13 | pub(crate) use self::private::{PartialRow, RowSealed};
   |                                            ^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `diesel` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 6.88s

@weiznich weiznich requested a review from a team July 15, 2023 08:19
@weiznich weiznich added this pull request to the merge queue Jul 18, 2023
Merged via the queue into diesel-rs:master with commit ae4ec04 Jul 18, 2023
weiznich added a commit to weiznich/diesel that referenced this pull request Aug 18, 2023
Suppress unused_import if no backend is enabled
@weiznich weiznich mentioned this pull request Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants