about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/vtable.rs
AgeCommit message (Expand)AuthorLines
2024-10-29TypingMode :thinking:lcnr-2/+3
2024-10-18Never emit `vptr` for empty/auto traitsRuihan Li-6/+5
2024-09-30Also fix first_method_vtable_slotMichael Goulet-13/+12
2024-09-30Extract trait_refs_are_compatible, make it instantiate bindersMichael Goulet-27/+48
2024-09-30Instantiate binders in supertrait_vtable_slotMichael Goulet-10/+30
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-31Rollup merge of #129767 - nnethercote:rm-extern-crate-tracing-4, r=jieyouxuMatthias Krüger-0/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_trait_selection`.Nicholas Nethercote-0/+1
2024-08-29Stop using ty::GenericPredicates for non-predicates_of queriesMichael Goulet-2/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+8
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-8/+12
2024-07-02Fix spansMichael Goulet-1/+2
2024-07-02Miscellaneous renamingMichael Goulet-3/+3
2024-06-27Make queries more explicitMichael Goulet-1/+1
2024-06-14Only compute vtable information during codegenMichael Goulet-51/+76
2024-06-12Stop passing traitref/traitpredicate by refMichael Goulet-1/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-4/+4
2024-05-13Remove `extern crate rustc_middle` from `rustc_trait_selection`.Nicholas Nethercote-0/+1
2024-05-10De-tuple two `vtable_trait_first_method_offset` args.Nicholas Nethercote-7/+2
2024-04-29Remove `extern crate smallvec` from a couple of crates.Nicholas Nethercote-1/+1
2024-03-14eagerly instantiate binders to avoid relying on `sub`lcnr-0/+1
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-10-03Optimize some `alloc_from_iter` call sites.Nicholas Nethercote-1/+1
2023-08-18Add an (perma-)unstable option to disable vtable vptrGary Guo-1/+1
2023-08-02Remove constness from `TraitPredicate`Deadbeef-1/+1
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-5/+1
2023-07-25Make everything builtin!Michael Goulet-2/+3
2023-07-19Don't emit useless vptrs for marker traitsMaybe Waffle-4/+21
2023-07-19Fix commentMaybe Waffle-1/+1
2023-07-19Simplify last `prepare_vtable_segments` loop even moreMaybe Waffle-25/+22
2023-07-19Slightly refactor 'exiting_out loop in `prepare_vtable_segments`Maybe Waffle-20/+22
2023-07-19Refactor 'diving_in loop internals in `prepare_vtable_segments`Maybe Waffle-17/+17
2023-07-19Replace `if let` with `unwrap` in `prepare_vtable_segments`Maybe Waffle-25/+24
2023-07-19Use `?` in `prepare_vtable_segments`Maybe Waffle-9/+15
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-8/+8
2023-07-06get rid of a bit more calls to poly_selectMichael Goulet-1/+1
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-1/+1
2023-06-12Collect VTable stats & add `-Zprint-vtable-sizes`Maybe Waffle-2/+2
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-2/+3
2023-05-04Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors-1/+1
2023-04-27rename `needs_infer` to `has_infer`Boxy-2/+2
2023-04-25Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle-1/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-1/+1
2023-02-15Copy `ty::AssocItem` all other the placeMaybe Waffle-2/+2
2023-01-15instantiate_own doesn't need to return a pair of vectorsMichael Goulet-1/+4
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-08Move vtable methods into its own moduleMichael Goulet-0/+386