about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/instance.rs
AgeCommit message (Expand)AuthorLines
2024-06-18Apply suggestions from oli-obk's reviewDaria Sukhonina-24/+11
2024-06-18Make async drop code more consistent with regular drop codeDaria Sukhonina-3/+25
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-102/+102
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-5/+4
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-3/+3
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+3
2024-04-18Fix disabling the export of noop async_drop_in_place_rawDaria Sukhonina-1/+3
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-2/+3
2024-04-16Add simple async drop glue generationzetanumbers-6/+23
2024-04-08CFI: Fix ICE in KCFI non-associated function pointersMatthew Maurer-1/+4
2024-04-02CFI: Support function pointers for trait methodsMatthew Maurer-0/+18
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-8/+40
2024-03-25Instance is CopyMichael Goulet-4/+4
2024-03-22Auto merge of #122580 - saethlin:compiler-builtins-can-panic, r=pnkfelixbors-0/+6
2024-03-20Add a testBen Kimock-0/+6
2024-03-19Add a few more commentsMichael Goulet-1/+1
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-1/+10
2024-03-19Only split by-ref/by-move futures for async closuresMichael Goulet-13/+5
2024-03-09Rollup merge of #122237 - fee1-dead-contrib:rmord, r=compiler-errorsMatthias Krüger-1/+1
2024-03-09Remove `Ord` from `ClosureKind`Deadbeef-1/+1
2024-03-07sync (try_)instantiate_mir_and_normalize_erasing_regions implementationklensy-2/+4
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-8/+8
2024-02-12Dejargnonize substShoyu Vanilla-8/+8
2024-02-11is_closure_likeMichael Goulet-5/+2
2024-02-07Record coroutine kind in genericsMichael Goulet-1/+8
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-13/+13
2024-02-06More comments, final tweaksMichael Goulet-0/+7
2024-02-06Bless tests, add commentsMichael Goulet-1/+4
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-1/+20
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-1/+22
2024-01-23Rollup merge of #120139 - compiler-errors:fnonce-shim, r=BoxyUwULeón Orell Valerian Liehr-10/+8
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-10/+8
2024-01-19Consolidate logic around resolving built-in coroutine trait implsMichael Goulet-0/+50
2024-01-05fix OOM when `ty::Instance` is used in query descriptionLukas Markeffsky-4/+8
2023-12-30Use the right type for upvarsMichael Goulet-6/+4
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-3/+6
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-2/+2
2023-12-03rustc: Harmonize `DefKind` and `DefPathData`Vadim Petrochenkov-1/+1
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-3/+3
2023-10-20s/generator/coroutine/Oli Scherer-6/+6
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-5/+4
2023-10-02`skip_binder` to `instantiate_identity`lcnr-2/+7
2023-09-26subst -> instantiatelcnr-6/+6
2023-09-18Remove unused `Lift` derives.Nicholas Nethercote-0/+3
2023-09-14treat host effect params as erased generics in codegenDeadbeef-1/+2
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-9/+7
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-81/+81
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-3/+3