Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_late_init Clippy lint in test
error: unneeded late initalization --> tests/test_generics.rs:90:5 | 90 | let mut instance: EnumCompound<DisplayOnly, DebugOnly, NoFormat>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init help: declare `instance` here | 92 | let mut instance: EnumCompound<DisplayOnly, DebugOnly, NoFormat> = EnumCompound::DisplayDebug(DisplayOnly, DebugOnly); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information