about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/naked_functions.rs
AgeCommit message (Expand)AuthorLines
2025-04-07Add `naked_functions_rustic_abi` feature gateFolkert de Vries-27/+6
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+1
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-09compiler: remove rustc_target::spec::abi reexportsJubilee Young-3/+3
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-1/+4
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+1
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-17/+13
2024-10-06remove checks that are now performed during macro expansion of `naked_asm!`Folkert de Vries-45/+8
2024-10-06disallow `asm!` in `#[naked]` functionsFolkert de Vries-19/+28
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-11/+37
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-12/+2
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-4/+1
2024-07-24use an allow list for allowed asm options in naked functionsFolkert-12/+9
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-12/+2
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+1
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-3/+3
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-1/+1
2024-02-24Add asm label support to AST and HIRGary Guo-1/+2
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-7/+7
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-2/+2
2023-06-26`hir`: Add `Become` expression kindMaybe Waffle-0/+1
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-04-21offset_ofDrMeepster-0/+1
2023-03-21Use local key in providersMichael Goulet-2/+2
2023-03-14Remove box expressions from HIRclubby789-2/+1
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-1/+1
2022-10-07migrate naked_functions.rs to translateable diagnosticsNathan Stocks-59/+25
2022-10-01Refactor rustc lint APIMaybe Waffle-3/+7
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-1/+1
2022-08-03Only fetch HIR for naked functions that have the attribute.Camille GILLOT-53/+41
2022-07-07Reword comments and rename HIR visiting methods.Camille GILLOT-1/+1
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-13rename visit item-like methodsMiguel Guarniz-1/+1
2022-05-13remove ItemLikeVisitor and DeepVisitorMiguel Guarniz-4/+1
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-1/+3
2022-04-03Rollup merge of #95553 - jam1garner:naked-function-compile-error, r=tmiaskoDylan DPC-3/+22
2022-04-01Reword purpose description of noreturn in naked functionjam1garner-1/+1
2022-04-01Don't emit non-asm contents error for naked function composed of errorsjam1garner-3/+22
2022-03-31Add error message suggestion for missing noreturn in naked functionjam1garner-1/+14
2022-01-21Reject may_unwind option in naked functionsTomasz Miąsko-0/+1