diff options
| author | bors <bors@rust-lang.org> | 2021-02-06 20:55:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-06 20:55:36 +0000 |
| commit | a73c2e555c26ef0c8b98c91c97a7d24b7017267f (patch) | |
| tree | 96373010f49cc4ff16ed9a4ab5aa38ee8ddd1d5e /compiler/rustc_codegen_llvm/src | |
| parent | 9a1d6174c925f54c923599e29b09d6855e6b3a78 (diff) | |
| parent | c92b161df0a42b613e2d8975b8aa1dd49497aaec (diff) | |
| download | rust-a73c2e555c26ef0c8b98c91c97a7d24b7017267f.tar.gz rust-a73c2e555c26ef0c8b98c91c97a7d24b7017267f.zip | |
Auto merge of #80883 - GuillaumeGomez:remove-some-function-fields, r=ollie27
Remove some function fields Same kind as #80845. This PR removes the `all_types` and `ret_types` from the `clean::Function` type. Another change that I had to do was implementing the `From` trait to be able to convert `hir::def::DefKind` into `clean::TypeKind` without requiring `DocContext` (and so I updated the `clean` method so that it's taken into account). The last two commits improve a bit the `get_real_types` function and the `Type::generics` method. r? `@jyn514`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
