1 error: statement with no effect
2 --> $DIR/no_effect.rs:89:5
7 = note: `-D clippy::no-effect` implied by `-D warnings`
9 error: statement with no effect
10 --> $DIR/no_effect.rs:90:5
15 error: statement with no effect
16 --> $DIR/no_effect.rs:91:5
21 error: statement with no effect
22 --> $DIR/no_effect.rs:92:5
27 error: statement with no effect
28 --> $DIR/no_effect.rs:93:5
30 LL | Struct { field: 0 };
31 | ^^^^^^^^^^^^^^^^^^^^
33 error: statement with no effect
34 --> $DIR/no_effect.rs:94:5
39 error: statement with no effect
40 --> $DIR/no_effect.rs:95:5
45 error: statement with no effect
46 --> $DIR/no_effect.rs:96:5
51 error: statement with no effect
52 --> $DIR/no_effect.rs:97:5
54 LL | Enum::Struct { field: 0 };
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
57 error: statement with no effect
58 --> $DIR/no_effect.rs:98:5
63 error: statement with no effect
64 --> $DIR/no_effect.rs:99:5
69 error: statement with no effect
70 --> $DIR/no_effect.rs:100:5
75 error: statement with no effect
76 --> $DIR/no_effect.rs:101:5
81 error: statement with no effect
82 --> $DIR/no_effect.rs:102:5
87 error: statement with no effect
88 --> $DIR/no_effect.rs:103:5
93 error: statement with no effect
94 --> $DIR/no_effect.rs:104:5
99 error: statement with no effect
100 --> $DIR/no_effect.rs:105:5
105 error: statement with no effect
106 --> $DIR/no_effect.rs:106:5
111 error: statement with no effect
112 --> $DIR/no_effect.rs:108:5
117 error: statement with no effect
118 --> $DIR/no_effect.rs:109:5
123 error: statement with no effect
124 --> $DIR/no_effect.rs:110:5
129 error: statement with no effect
130 --> $DIR/no_effect.rs:111:5
135 error: statement with no effect
136 --> $DIR/no_effect.rs:112:5
141 error: statement with no effect
142 --> $DIR/no_effect.rs:114:5
147 error: statement with no effect
148 --> $DIR/no_effect.rs:116:5
150 LL | FooString { s: s };
151 | ^^^^^^^^^^^^^^^^^^^
153 error: statement with no effect
154 --> $DIR/no_effect.rs:117:5
159 error: statement with no effect
160 --> $DIR/no_effect.rs:118:5
165 error: statement with no effect
166 --> $DIR/no_effect.rs:119:5
171 error: statement with no effect
172 --> $DIR/no_effect.rs:120:5
177 error: aborting due to 29 previous errors