about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
AgeCommit message (Expand)AuthorLines
2023-07-16Add a comparison between match *self and intrinsics::unreachable()David Tolnay-2/+3
2023-07-16Generate safe stable code for derives on empty enumsDavid Tolnay-4/+13
2023-07-16Auto merge of #113557 - Amanieu:no-builtins-prelude, r=petrochenkovbors-9/+18
2023-07-14Hide `compiler_builtins` in the preludeAmanieu d'Antras-9/+18
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-8/+14
2023-06-28fix typoHe1pa-3/+3
2023-06-25Migrate some rustc_builtin_macros to SessionDiagnosticHe1pa-32/+109
2023-06-24Auto merge of #112802 - lukas-code:fancy-bool, r=Nilstriebbors-64/+61
2023-06-21Rollup merge of #112790 - WaffleLapkin:syntactically, r=NilstriebNilstrieb-0/+1
2023-06-19use `ErrorGuaranteed` instead of booleansLukas Markeffsky-64/+61
2023-06-19Auto merge of #112366 - lukas-code:test, r=Nilstriebbors-24/+21
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-0/+1
2023-06-16fix ICE on specific malformed asm clobber_abiasquared31415-5/+1
2023-06-07Remove accidental commentclubby789-3/+0
2023-06-07Deny non-lifetime generics for test functions.Lukas Markeffsky-18/+15
2023-06-06Fix ICE for nested test function with arguments.Lukas Markeffsky-6/+6
2023-05-29Auto merge of #111748 - nnethercote:Cow-DiagnosticMessage, r=WaffleLapkinbors-2/+2
2023-05-29Auto merge of #111963 - nnethercote:inline-derived-hash, r=lqdbors-19/+12
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-27Auto merge of #111928 - c410-f3r:dqewdas, r=eholkbors-5/+11
2023-05-26Avoid some unnecessary local `attr` variables.Nicholas Nethercote-19/+11
2023-05-26Inline derived `hash` function.Nicholas Nethercote-2/+3
2023-05-25Auto merge of #86844 - bjorn3:global_alloc_improvements, r=pnkfelixbors-5/+3
2023-05-24[RFC-2011] Expand more expressionsCaio-5/+11
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-18Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naberDylan DPC-1/+3
2023-05-18Rollup merge of #111633 - nnethercote:avoid-ref-format, r=WaffleLapkinDylan DPC-12/+12
2023-05-17Rollup merge of #111649 - Nilstrieb:derive-const-param-ty, r=BoxyUwUDylan DPC-0/+24
2023-05-16Add derive for `core::marker::ConstParamTy`Nilstrieb-0/+24
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-12/+12
2023-05-14Rollup merge of #111463 - clubby789:env-escaped-var, r=cjgillotMatthias Krüger-3/+9
2023-05-12Auto merge of #109732 - Urgau:uplift_drop_forget_ref_lints, r=davidtwcobors-3/+1
2023-05-11refactor: use by-ref TokenTree iterator to avoid a few clonesCaleb Cartwright-2/+2
2023-05-11Better diagnostics for `env!` where variable contains escapeclubby789-3/+9
2023-05-11Split AllocatorKind::fn_name in global_fn_name and default_fn_namebjorn3-2/+2
2023-05-11Inline AllocFnFactory kind fieldbjorn3-4/+2
2023-05-10Remove useless drop of copy typeUrgau-3/+1
2023-05-09Rollup merge of #110694 - est31:builtin, r=petrochenkovDylan DPC-101/+0
2023-05-08Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mar...bors-1/+1
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+1
2023-05-05Migrate offset_of from a macro to builtin # syntaxest31-101/+0
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+9
2023-05-04Rollup merge of #111027 - clubby789:query-instability-builtin-macros, r=petro...Matthias Krüger-11/+11
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-12/+12
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-6/+5
2023-05-02fix TODO commentsDeadbeef-2/+3
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+8
2023-05-02Auto merge of #109128 - chenyukang:yukang/remove-type-ascription, r=estebankbors-6/+1
2023-05-01Rollup merge of #111042 - Zalathar:no-coverage, r=wesleywiserMatthias Krüger-2/+4