about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/collector.rs
AgeCommit message (Expand)AuthorLines
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-2/+2
2024-04-16Add simple async drop glue generationzetanumbers-0/+1
2024-04-14move the LargeAssignments lint logic into its own fileRalf Jung-140/+6
2024-04-07Only collect mono items from reachable blocksBen Kimock-9/+11
2024-03-29Auto merge of #122671 - Mark-Simulacrum:const-panic-msg, r=Nilstriebbors-10/+11
2024-03-25Instance is CopyMichael Goulet-19/+19
2024-03-22Auto merge of #122852 - compiler-errors:raw-ptr, r=lcnrbors-4/+2
2024-03-22Auto merge of #122580 - saethlin:compiler-builtins-can-panic, r=pnkfelixbors-1/+1
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-4/+2
2024-03-22Codegen const panic messages as function callsMark Rousskov-10/+11
2024-03-21rename items -> free_itemsRalf Jung-1/+1
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-294/+549
2024-03-20collector: move functions around so that the 'root collection' section really...Ralf Jung-259/+264
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-30/+63
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-0/+6
2024-03-20mentioned items: also handle vtablesRalf Jung-30/+45
2024-03-20avoid processing mentioned items that are also still usedRalf Jung-3/+27
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-103/+275
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-5/+0
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+1
2024-03-17collector: move ensure_sufficient_stack out of the loopRalf Jung-4/+8
2024-03-16Handle calls to upstream monomorphizations in compiler_builtinsBen Kimock-1/+1
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-2/+5
2024-03-14Rollup merge of #122287 - RalfJung:simd-static-assert, r=pnkfelixMatthias Krüger-3/+6
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-2/+6
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-10add comments explaining where post-mono const eval errors abort compilationRalf Jung-3/+6
2024-03-10use Instance::expect_resolve() instead of unwraping Instance::resolve()Ralf Jung-4/+2
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-1/+2
2024-03-07Apply `EarlyBinder` only to `TraitRef` in `ImplTraitHeader`Yoshitomo Nakanishi-2/+2
2024-03-04Remove some depgraph edges on the HIR by invoking the intrinsic query instead...Oli Scherer-1/+1
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+5
2024-02-24Add asm label support to AST and HIRGary Guo-1/+2
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-5/+10
2024-02-13Auto merge of #120919 - oli-obk:impl_polarity, r=compiler-errorsbors-7/+6
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-4/+4
2024-02-12Rollup merge of #120950 - compiler-errors:miri-async-closurs, r=RalfJung,oli-obkMatthias Krüger-1/+1
2024-02-12Teach llvm backend how to fall back to default bodiesOli Scherer-5/+10
2024-02-12Stop calling `impl_polarity` when `impl_trait_ref` was also calledOli Scherer-7/+6
2024-02-12Dejargnonize substShoyu Vanilla-4/+4
2024-02-11is_closure_likeMichael Goulet-1/+1
2024-02-10large_assignments: Allow moves into functionsMartin Nordholts-1/+9
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-1/+1
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-1/+2
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-0/+1
2024-01-25Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasperMatthias Krüger-1/+7
2024-01-23Rollup merge of #120139 - compiler-errors:fnonce-shim, r=BoxyUwULeón Orell Valerian Liehr-2/+1
2024-01-23Remove track_errors entirelyOli Scherer-1/+7
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-1/+1
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-2/+1