about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/vtable.rs
AgeCommit message (Expand)AuthorLines
2025-09-17Remove `DynKind`León Orell Valerian Liehr-3/+3
2025-08-25Only consider auto traits empty for the purposes of omitting vptrs from subtr...Zachary S-1/+6
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-4/+2
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-01-31Ensure that we never try to monomorphize the upcasting of impossible dyn typesMichael Goulet-5/+21
2025-01-30More assertions, tests, and miri coverageMichael Goulet-34/+23
2025-01-30Normalize vtable entries before walking and deduplicating themMichael Goulet-21/+12
2025-01-30Do not treat vtable supertraits as distinct when bound with different bound varsMichael Goulet-73/+59
2025-01-30Rework rustc_dump_vtableMichael Goulet-16/+1
2024-11-19additional `TypingEnv` cleanupslcnr-4/+3
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+5
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