about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-06 20:55:36 +0000
committerbors <bors@rust-lang.org>2021-02-06 20:55:36 +0000
commita73c2e555c26ef0c8b98c91c97a7d24b7017267f (patch)
tree96373010f49cc4ff16ed9a4ab5aa38ee8ddd1d5e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9a1d6174c925f54c923599e29b09d6855e6b3a78 (diff)
parentc92b161df0a42b613e2d8975b8aa1dd49497aaec (diff)
downloadrust-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_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions