mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 00:08:01 +00:00
Resolve wildcard_imports pedantic clippy lint in test suite
error: usage of wildcard import
--> test_suite/tests/test_gen.rs:901:9
|
901 | use super::*;
| ^^^^^^^^ help: try: `super::Deserialize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
= note: `-D clippy::wildcard-imports` implied by `-D clippy::pedantic`
This commit is contained in:
@@ -898,7 +898,7 @@ impl Drop for RemotePackedNonCopyDef {
|
||||
/// Regression tests for <https://github.com/serde-rs/serde/issues/2371>
|
||||
#[allow(dead_code)]
|
||||
mod static_and_flatten {
|
||||
use super::*;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
struct Nested;
|
||||
|
||||
Reference in New Issue
Block a user