diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-02 19:42:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 19:42:50 +0200 |
| commit | 7ed351a5083286afe1acf0681046b092e79fa91b (patch) | |
| tree | ff4a24ee3a99cf9a258012aabae3b4efb12ea421 /tests/codegen/patchable-function-entry | |
| parent | 2b875f09274c97df5f4d34cac98ad48cf5ce7bbc (diff) | |
| parent | 3ea32a746df732f864bb60cab44afe6b71ba799d (diff) | |
| download | rust-7ed351a5083286afe1acf0681046b092e79fa91b.tar.gz rust-7ed351a5083286afe1acf0681046b092e79fa91b.zip | |
Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmease
Use `tcx.types.unit` instead of `Ty::new_unit(tcx)` I don't think there is any need for the function, given that we can just access the `.types`, similarly to all other primitives?
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
