1 error: statement with no effect
2 --> $DIR/no_effect.rs:65:5
7 = note: `-D clippy::no-effect` implied by `-D warnings`
9 error: statement with no effect
10 --> $DIR/no_effect.rs:66:5
15 error: statement with no effect
16 --> $DIR/no_effect.rs:67:5
21 error: statement with no effect
22 --> $DIR/no_effect.rs:68:5
27 error: statement with no effect
28 --> $DIR/no_effect.rs:69:5
30 LL | Struct { field: 0 };
31 | ^^^^^^^^^^^^^^^^^^^^
33 error: statement with no effect
34 --> $DIR/no_effect.rs:70:5
39 error: statement with no effect
40 --> $DIR/no_effect.rs:71:5
45 error: statement with no effect
46 --> $DIR/no_effect.rs:72:5
51 error: statement with no effect
52 --> $DIR/no_effect.rs:73:5
54 LL | Enum::Struct { field: 0 };
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
57 error: statement with no effect
58 --> $DIR/no_effect.rs:74:5
63 error: statement with no effect
64 --> $DIR/no_effect.rs:75:5
69 error: statement with no effect
70 --> $DIR/no_effect.rs:76:5
75 error: statement with no effect
76 --> $DIR/no_effect.rs:77:5
81 error: statement with no effect
82 --> $DIR/no_effect.rs:78:5
87 error: statement with no effect
88 --> $DIR/no_effect.rs:79:5
93 error: statement with no effect
94 --> $DIR/no_effect.rs:80:5
99 error: statement with no effect
100 --> $DIR/no_effect.rs:81:5
105 error: statement with no effect
106 --> $DIR/no_effect.rs:82:5
111 error: statement with no effect
112 --> $DIR/no_effect.rs:84:5
117 error: statement with no effect
118 --> $DIR/no_effect.rs:85:5
123 error: statement with no effect
124 --> $DIR/no_effect.rs:86:5
129 error: statement with no effect
130 --> $DIR/no_effect.rs:87:5
135 error: statement with no effect
136 --> $DIR/no_effect.rs:88:5
141 error: statement with no effect
142 --> $DIR/no_effect.rs:90:5
147 error: statement with no effect
148 --> $DIR/no_effect.rs:92:5
150 LL | FooString { s: s };
151 | ^^^^^^^^^^^^^^^^^^^
153 error: aborting due to 25 previous errors