Commit 83b16ea
committed
Remove typed-builder dependency
Requires removing #[non_exhaustive] from DataDef, FunctionDef, and FunctionBlock.
This means that if the IR format changes, adding new fields would break the API.
Alternatively we could leave the #[non_exhaustive] attribute while removing the builder.
However, this would make these types impossible to construct outside of the crate
and reduce the usefuleness of the Display impls.1 parent 56b4514 commit 83b16ea
3 files changed
+4
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | | - | |
26 | 22 | | |
27 | 23 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
| |||
181 | 172 | | |
182 | 173 | | |
183 | 174 | | |
184 | | - | |
185 | | - | |
| 175 | + | |
186 | 176 | | |
187 | | - | |
188 | 177 | | |
189 | 178 | | |
190 | | - | |
191 | 179 | | |
192 | | - | |
193 | 180 | | |
194 | 181 | | |
195 | 182 | | |
| |||
211 | 198 | | |
212 | 199 | | |
213 | 200 | | |
214 | | - | |
| 201 | + | |
215 | 202 | | |
216 | 203 | | |
217 | 204 | | |
| |||
0 commit comments