about summary refs log tree commit diff
path: root/compiler/rustc_smir/src
AgeCommit message (Expand)AuthorLines
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-2/+1
2024-02-17Merge `CompilerError::CompilationFailed` and `CompilerError::ICE`.Nicholas Nethercote-2/+8
2024-02-15Rollup merge of #120982 - momvart:smir-61-foreign_kind, r=oli-obkMatthias Krüger-33/+105
2024-02-14Rewrite foreign item kind query using `DefKind`Mohammad Omidvar-21/+13
2024-02-12Add APIs for fetching foreign items including foreign modules, their ABIs, an...Mohammad Omidvar-33/+113
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-0/+1
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-1/+1
2024-02-06Bless tests, add commentsMichael Goulet-2/+2
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-0/+1
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-0/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-0/+4
2024-01-30Remove the `abi_amdgpu_kernel` featureclubby789-3/+0
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-1/+4
2024-01-19Use the new `with_tables` everywhereOli Scherer-145/+127
2024-01-19Ensure internal function is safeCelina G. Val-198/+294
2024-01-19Fix `Stable` trait and its impls to work with the new `with_tables`Oli Scherer-129/+136
2024-01-19Fix a soundness bug in `with_tables`.Oli Scherer-2/+2
2024-01-18Rollup merge of #119833 - celinval:smir-accept-closures, r=oli-obkMatthias Krüger-16/+106
2024-01-17Revert changes to internal method for nowCelina G. Val-29/+4
2024-01-16Remove tcx function and make `internal` fn saferCelina G. Val-28/+55
2024-01-16Remove tcx from SMIR run macro and accept closuresCelina G. Val-17/+105
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-1/+1
2024-01-11Rollup merge of #119790 - celinval:smir-all-traits, r=oli-obkMatthias Krüger-4/+27
2024-01-10Simplify some redundant namesMichael Goulet-8/+6
2024-01-09Fix all_trait* methods to return all trait availableCelina G. Val-4/+27
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-2/+2
2023-12-28Restore movability to SMIRMichael Goulet-1/+3
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-9/+5
2023-12-25Only regular coroutines have movabilityMichael Goulet-2/+4
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-7/+16
2023-12-20Rollup merge of #119141 - celinval:smir-instance-args, r=compiler-errorsMatthias Krüger-0/+6
2023-12-20Add method to get instance instantiation argumentsCelina G. Val-0/+6
2023-12-20Add `ItemKind::Ctor` to stable mirCelina G. Val-9/+7
2023-12-20Fix crash for `CrateItem::kind()` with constructorsCelina G. Val-5/+8
2023-12-20Rollup merge of #119094 - celinval:smir-layout, r=compiler-errorsMatthias Krüger-21/+344
2023-12-19Fix c_variadic flag and add opaque info to PassModeCelina G. Val-4/+17
2023-12-18Add the function body span to StableMIRCelina G. Val-0/+1
2023-12-18Add function ABI and type layout to StableMIRCelina G. Val-21/+331
2023-12-17Auto merge of #119000 - celinval:smir-cstr, r=ouz-abors-0/+6
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+0
2023-12-15Add a method to check if type is a CStrCelina G. Val-0/+6
2023-12-14Address PR commentsCelina G. Val-12/+6
2023-12-13Add spread arg and missing CoroutineKindCelina G. Val-1/+4
2023-12-13Erase late bound regions from instance `fn_sig()`Celina G. Val-3/+12
2023-12-12Rollup merge of #118889 - matthiaskrgr:compl_2023_2, r=WaffleLapkinJubilee-1/+1
2023-12-12more clippy::complexity fixesMatthias Krüger-1/+1
2023-12-12clippy::complexity fixesMatthias Krüger-1/+1
2023-12-12Rollup merge of #118846 - celinval:smir-ty-methods, r=compiler-errorsMatthias Krüger-0/+12
2023-12-11Fix BinOp ty assertion and `fn_sig` for closuresCelina G. Val-0/+12