diesel-rs / diesel

A safe, extensible ORM and Query Builder for Rust
https://diesel.rs
Apache License 2.0
12.79k stars 1.08k forks source link

Fix unused qualifications #4259

Closed Sindbad-Walter closed 2 months ago

Sindbad-Walter commented 2 months ago

The unused_qualifications lint gets triggered even in the macros, an issue was openned on rust to update it but as for now this should prevent the lint from triggerring on macros.

Added #[allow(unused_qualifications)] directly in wrap_in_dummy_mod. Removed #[allow(unused_qualifications)] from Insertable, reverting https://github.com/diesel-rs/diesel/pull/3353 as it will be taken care by the one on wrap_in_dummy_mod.