about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/naked_functions.rs
AgeCommit message (Expand)AuthorLines
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
2022-01-21Reject unsupported naked functionsTomasz Miąsko-45/+46
2022-01-17Auto merge of #90986 - camsteffen:nested-filter, r=cjgillotbors-19/+1
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-19/+1
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-16/+0
2021-12-15Remove `in_band_lifetimes` for `rustc_passes`Peter Jaszkowiak-1/+1
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+1
2021-08-04Move naked function ABI check to its own lintNathaniel McCallum-1/+2
2021-08-02Validate that naked functions are never inlinedNathaniel McCallum-1/+11
2021-03-09Do not store attrs in FnKind.Camille GILLOT-2/+3
2021-01-07Reintroduce hir::ExprKind::IfCaio-0/+1
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-1/+1
2020-12-07Validate naked functions definitionsTomasz Miąsko-15/+224
2020-11-25Validate use of parameters in naked functionsTomasz Miąsko-0/+113