rust/compiler/rustc_middle/src
bors f9b95f92c8 Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis
Refactor vtable format for upcoming trait_upcasting feature.

This modifies vtable format:
1. reordering occurrence order of methods coming from different traits
2. include `VPtr`s for supertraits where this vtable cannot be directly reused during trait upcasting.
Also, during codegen, the vtables corresponding to these newly included `VPtr` will be requested and generated.

For the cases where this vtable can directly used, now the super trait vtable has exactly the same content to some prefix of this one.

r? `@bjorn3`
cc `@RalfJung`
cc `@rust-lang/wg-traits`
2021-07-24 10:21:23 +00:00
..
dep_graph Update DepNode's size 2021-07-10 21:46:31 +08:00
hir Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
ich rename assert_matches module 2021-07-16 09:18:14 -07:00
infer
middle Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
mir miri: better ptr-out-of-bounds errors 2021-07-18 10:38:00 +02:00
query Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
traits Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
ty Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
util
arena.rs
lib.rs use NonZeroU64 for AllocId to restore old type sizes 2021-07-14 18:17:49 +02:00
lint.rs Rename force-warns to force-warn 2021-07-21 15:41:10 +02:00
macros.rs
tests.rs
thir.rs Add documentation for various THIR structs 2021-06-22 17:58:30 +02:00