summary refs log tree commit diff
path: root/compiler/rustc_monomorphize
AgeCommit message (Expand)AuthorLines
2024-08-29Add `warn(unreachable_pub)` to `rustc_monomorphize`.Nicholas Nethercote-17/+22
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-4/+1
2024-08-25Avoid taking reference of &TyKindMichael Goulet-2/+2
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-3/+3
2024-08-19Don't generate functions with the `rustc_intrinsic_must_be_overridden` attributeDianQK-1/+3
2024-08-15Rollup merge of #129067 - cuviper:append, r=wesleywiserMatthias Krüger-2/+2
2024-08-13Update `indexmap` and use `IndexMap::append`Josh Stone-2/+2
2024-08-13Use is_lang_item moreMichael Goulet-1/+3
2024-08-08Rename struct_tail_erasing_lifetimes to struct_tail_for_codegenMichael Goulet-2/+2
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-25/+21
2024-07-28stabilize `is_sorted`Slanterns-1/+0
2024-07-15Move compiler_builtin check to the use caseMohammad Omidvar-32/+0
2024-07-15Use the hook on tcx instead of the local functionMohammad Omidvar-26/+18
2024-07-15Introduce and provide a hook for `should_codegen_locally`Mohammad Omidvar-4/+18
2024-07-08Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJungbors-1/+2
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-1/+2
2024-07-04Auto merge of #123781 - RalfJung:miri-fn-identity, r=oli-obkbors-4/+4
2024-07-02Fix spansMichael Goulet-17/+7
2024-07-02Re-implement a type-size based limitMichael Goulet-84/+3
2024-07-02Give Instance::expect_resolve a spanMichael Goulet-4/+16
2024-07-02Miri function identity hack: account for possible inliningRalf Jung-4/+4
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-53/+53
2024-06-15Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obkGuillaume Gomez-2/+2
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-2/+3
2024-06-14Add TyCtxt::is_lang_itemMichael Goulet-1/+1
2024-06-13MIR visitor: constant -> const_operandRalf Jung-2/+2
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-0/+2
2024-06-07Auto merge of #125928 - michaelwoerister:fix-cgu-hashstable, r=oli-obkbors-47/+56
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-1/+1
2024-06-03Stabilize order of MonoItems in CGUs and disallow query_instability lint for ...Michael Woerister-47/+56
2024-05-24Don't eagerly monomorphize drop for types that are impossible to instantiateMichael Goulet-0/+9
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_monomorphize`.Nicholas Nethercote-3/+4
2024-05-19Add and use generics.is_empty() and generics.is_own_empty, rather than using ...Santiago Pastorino-2/+2
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-3/+2
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-3/+3
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+3
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-3/+4
2024-04-16Add simple async drop glue generationzetanumbers-2/+6
2024-04-14move the LargeAssignments lint logic into its own fileRalf Jung-140/+161
2024-04-07Only collect mono items from reachable blocksBen Kimock-9/+11
2024-04-01Only allow upstream calls to LLVM intrinsics, not any link_name functionBen Kimock-2/+14
2024-03-29Auto merge of #122671 - Mark-Simulacrum:const-panic-msg, r=Nilstriebbors-10/+11
2024-03-25Instance is CopyMichael Goulet-20/+20
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/+23
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