about summary refs log tree commit diff
path: root/library/core/src/macros/mod.rs
AgeCommit message (Expand)AuthorLines
2023-11-04Add diagnostic items for a few of core's builtin macrosThom Chiovoloni-0/+3
2023-10-25Remove `cfg_match` from the preludeCaio-89/+88
2023-10-02Appease tidyJames Haywood-4/+4
2023-10-02Adapt `todo!` documentation to mention displaying custom valuesJames Haywood-10/+24
2023-09-23Add the `cfg_match!` macroCaio-0/+89
2023-09-06Update doc for `alloc::format!` and `core::concat!`ShE3py-1/+1
2023-08-28format, format_args: Make xref to std::fmt much more prominentIan Jackson-1/+2
2023-08-07core: Remove #[macro_export] from `debug_assert_matches`Arthur Cohen-1/+0
2023-06-14Mention `env!` in `option_env!`'s docsPavel Grigorenko-0/+2
2023-05-24[RFC-2011] Expand more expressionsCaio-1/+1
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+0
2023-04-25Revert "Remove #[alloc_error_handler] from the compiler and library"Matthias Krüger-0/+10
2023-04-16Remove #[alloc_error_handler] from the compiler and libraryAmanieu d'Antras-10/+0
2023-04-11Reword the docstring in todo! macro definitionPatrik Kormosi-2/+2
2023-04-09Fix typo in todo! macro docstringPatrik Kormosi-1/+1
2023-03-06Use Edition 2021 :pat in matches macroKonrad Borowski-2/+2
2023-01-06Remove HTML tags around warningGijs Burghoorn-6/+0
2023-01-05Better phrasing for hygiene of include macroGijs Burghoorn-4/+5
2023-01-04Tidy up whitespaceGijs Burghoorn-11/+11
2023-01-04Improve include macro documentationGijs Burghoorn-20/+44
2022-12-28Update bootstrap cfgPietro Albini-3/+0
2022-12-01Gate macros behind `#[cfg(not(bootstrap))]`nils-11/+0
2022-11-19Add unstable `type_ascribe` macroNilstrieb-0/+23
2022-11-17Readd the matches_macro diag itemPhilipp Krones-0/+1
2022-11-13Remove unused diagnostic itemsMaybe Waffle-12/+0
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-0/+13
2022-10-31Rewrite implementation of `#[alloc_error_handler]`Amanieu d'Antras-0/+11
2022-09-20Add the `#[derive_const]` attributeDeadbeef-0/+13
2022-09-12Fix typo in concat_bytes documentationJay3332-1/+1
2022-08-31Link “? operator” to relevant chapter in The BookMartin Geisler-3/+5
2022-08-25Clarify comment to fit `as _` betterJosh Triplett-1/+2
2022-08-24Expand example to show how to implement qualified trait namesJosh Triplett-0/+17
2022-08-24Update `write!` docs: can now import traits as `_` to avoid conflictsJosh Triplett-2/+2
2022-08-24Remove some documentation duplicated between `writeln!` and `write!`Josh Triplett-19/+0
2022-07-24Revert write! and writeln! to late drop temporariesDavid Tolnay-8/+6
2022-07-08add rt flag to allowed internal unstable for RustcEncodable/DecodableJane Lusby-2/+2
2022-06-09Grammar fix in the compile_error documentationest31-2/+2
2022-05-22Make write/print macros eagerly drop temporariesDavid Tolnay-6/+8
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-9/+3
2022-05-01Fix some links in the standard libraryVadim Petrochenkov-0/+2
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-9/+3
2022-04-06Mention `std::env::var` in `env!`Martin Geisler-2/+8
2022-03-11Format core and std macro rules, removing needless surrounding blocksDavid Tolnay-26/+50
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-7/+7
2022-02-25Switch bootstrap cfgsMark Rousskov-19/+0
2022-02-12add link to format_args! when being mentioned in docyuhaixin.hx-2/+2
2022-01-31Fix invalid special casing of the unreachable! macroLoïc BRANSTETT-0/+16
2022-01-28update cfg(bootstrap)sPietro Albini-1/+0
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-26/+0
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-26/+0