1 error: use of `default` to create a unit struct
2 --> $DIR/default_constructed_unit_structs.rs:13:13
5 | ^^^^^^^^^^^ help: remove this call to `default`
7 = note: `-D clippy::default-constructed-unit-structs` implied by `-D warnings`
9 error: use of `default` to create a unit struct
10 --> $DIR/default_constructed_unit_structs.rs:55:31
12 LL | inner: PhantomData::default(),
13 | ^^^^^^^^^^^ help: remove this call to `default`
15 error: use of `default` to create a unit struct
16 --> $DIR/default_constructed_unit_structs.rs:128:33
18 LL | let _ = PhantomData::<usize>::default();
19 | ^^^^^^^^^^^ help: remove this call to `default`
21 error: use of `default` to create a unit struct
22 --> $DIR/default_constructed_unit_structs.rs:129:42
24 LL | let _: PhantomData<i32> = PhantomData::default();
25 | ^^^^^^^^^^^ help: remove this call to `default`
27 error: use of `default` to create a unit struct
28 --> $DIR/default_constructed_unit_structs.rs:130:55
30 LL | let _: PhantomData<i32> = std::marker::PhantomData::default();
31 | ^^^^^^^^^^^ help: remove this call to `default`
33 error: use of `default` to create a unit struct
34 --> $DIR/default_constructed_unit_structs.rs:131:23
36 LL | let _ = UnitStruct::default();
37 | ^^^^^^^^^^^ help: remove this call to `default`
39 error: aborting due to 6 previous errors