Commit 2a66800
Explicitly use an empty vector for structural eq
Previous code was technically valid since the moved from vector was
empty but explicitly setting it empty with it's own name will help.
gcc/rust/ChangeLog:
* expand/rust-derive-eq.cc: Use empty vector explicitly.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>1 parent 2f79292 commit 2a66800
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | | - | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
0 commit comments