about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/asm.rs
AgeCommit message (Expand)AuthorLines
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-2/+2
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-3/+3
2024-03-15Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`Maybe Waffle-1/+1
2024-03-13delay expand macro bang when there has indeterminate pathbohan-32/+44
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-0/+10
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-6/+6
2024-03-04Tweak `parse_asm_args`.Nicholas Nethercote-5/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-36/+35
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-1/+2
2024-02-24Forbid asm unwind to work with labelsGary Guo-0/+7
2024-02-24Add asm label support to AST and HIRGary Guo-0/+3
2024-02-20Add newtype for raw identsclubby789-1/+2
2024-02-20trigger `unsafe_code` on `global_asm!` invocationsKalle Wachsmuth-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-7/+8
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+12
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-18/+18
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-5/+4
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-9/+7
2023-07-23fix couple of clippy findings:Matthias Krüger-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+1
2023-06-28fix typoHe1pa-1/+1
2023-06-25Migrate some rustc_builtin_macros to SessionDiagnosticHe1pa-8/+4
2023-06-16fix ICE on specific malformed asm clobber_abiasquared31415-5/+1
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-3/+3
2023-05-04Rollup merge of #111027 - clubby789:query-instability-builtin-macros, r=petro...Matthias Krüger-10/+11
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-4/+4
2023-05-02Use `GrowableBitSet` to store positional indexes in `asm!`clubby789-7/+8
2023-05-02Remove `allow(rustc::potential_query_instability)` for `builtin_macros`clubby789-5/+5
2023-05-01soften the wording for removing type ascriptionyukang-2/+1
2023-05-01Rip it outNilstrieb-1/+0
2023-04-30Migrate `builtin_macros::asm` diagnostics to translatable diagnosticsclubby789-67/+26
2023-04-25Fix static string lintsclubby789-20/+8
2023-03-10Rollup merge of #105798 - Amanieu:relax-asm, r=joshtriplettMatthias Krüger-31/+4
2023-02-24Replace parse_[sth]_expr with parse_expr_[sth] function namesest31-1/+1
2023-01-27Relax ordering rules for `asm!` operandsAmanieu d'Antras-31/+4
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-11-24Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiserbors-1/+1
2022-11-16Use `as_deref` in compiler (but only where it makes sense)Maybe Waffle-1/+1
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-1/+5
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-1/+1
2022-08-02Rollup merge of #100045 - Amanieu:global_asm_may_unwind, r=tmiaskoMatthias Krüger-2/+2
2022-08-02Properly reject the `may_unwind` option in `global_asm!`Amanieu d'Antras-2/+2
2022-07-31Always include a position span in rustc_parse_format::ArgumentAlex Macleod-2/+3
2022-07-25Generate correct suggestion with named arguments used positionallyPreston From-1/+1
2022-07-14Rollup merge of #99192 - Amanieu:fix-asm-srcloc, r=petrochenkovDylan DPC-2/+2
2022-07-14Fix spans for asm diagnosticsAmanieu d'Antras-2/+2
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-1/+1