summary refs log tree commit diff
path: root/library/core/src/macros
AgeCommit message (Expand)AuthorLines
2021-05-03Revert "Add debug_assert_matches macro."Mark Rousskov-36/+0
2021-05-03Revert "Add assert_matches!(expr, pat)."Mark Rousskov-54/+0
2021-03-18Apply suggestions from code reviewJ. Frimmel-3/+3
2021-03-18Incorporate review feedback #2Julian Frimmel-3/+4
2021-03-18Add more information about panickingJulian Frimmel-5/+9
2021-03-18Include output stream in `panic!()` documentationJulian Frimmel-2/+2
2021-03-15Deprecate RustcEncodable and RustcDecodable.Mara Bos-0/+8
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+12
2021-03-04Add tracking issue for assert_matches.Mara Bos-2/+2
2021-03-04Don't consume the expression in assert_matches!()'s failure case.Mara Bos-4/+4
2021-03-04Fix assert_matches doc examples.Mara Bos-2/+6
2021-03-04Add debug_assert_matches macro.Mara Bos-0/+34
2021-03-04Allow for multiple patterns and a guard in assert_matches.Mara Bos-23/+23
2021-03-04Add assert_matches!(expr, pat).Mara Bos-0/+52
2021-02-23Use #[doc = include_str!()] in stdLeSeulArtichaut-1/+1
2021-02-23Auto merge of #82076 - jyn514:update-bootstrap, r=Mark-Simulacrumbors-22/+0
2021-02-21Auto merge of #79100 - a1phyr:better_assert_eq, r=m-ou-sebors-15/+11
2021-02-20Update the bootstrap compilerJoshua Nelson-22/+0
2021-02-17Rollup merge of #82169 - not-an-aardvark:assert-lazy-format-expressions, r=sf...Guillaume Gomez-1/+2
2021-02-16Document that `assert!` format arguments are evaluated lazilyTeddy Katz-1/+2
2021-02-14Apply suggestionsBenoît du Garreau-45/+10
2021-02-14Apply suggestionBenoît du Garreau-31/+18
2021-02-14Fix UI tests and merge `assert_eq` and `assert_ne` internal functionsBenoît du Garreau-60/+23
2021-02-14Update library/core/src/macros/mod.rslukaslueg-1/+1
2021-02-14Improve assert_eq! and assert_ne!Benoît du Garreau-15/+96
2021-02-14Add missing env!-decl variantLukas Lueg-0/+1
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-0/+8
2021-02-03Update panic!() documentation about non-string panics.Mara Bos-7/+8
2021-02-01Fix bug with assert!() calling the wrong edition of panic!().Mara Bos-1/+1
2021-01-25Implement new panic!() behaviour for Rust 2021.Mara Bos-0/+16
2021-01-25Remove unused allow_internal_unstable on core::panic.Mara Bos-1/+1
2021-01-13Fix formatting specifiers doc linkCaleb Sander-3/+3
2020-12-30Bump bootstrap compiler to 1.50 betaMark Rousskov-3/+3
2020-11-23Clean up `core` macros documentationCamelid-4/+4
2020-11-23Qualify `panic!` as `core::panic!` in non-built-in `core` macrosCamelid-11/+11
2020-10-19Also apply panic_fmt lint suggestions to debug_assert!().Mara Bos-0/+1
2020-10-18Add cfg(not(bootstrap)) on the new rustc_diagnostic_item attributes.Mara Bos-2/+2
2020-10-18Expand assert!(expr) to panic() function instead of panic!() macro.Mara Bos-0/+1
2020-10-18Make panic_fmt lint work properly for assert!(expr, msg) too.Mara Bos-0/+1
2020-10-18Mark the panic macros as diagnostic items.Mara Bos-0/+1
2020-11-09Bad grammarcyqsimon-1/+1
2020-11-09Clarified description of write! macrocyqsimon-1/+1
2020-10-31Fix doc links to std::fmtIvan Pavluk-1/+1
2020-10-26Use ? in core/std macrosTaiki Endo-43/+16
2020-10-22Fix const core::panic!(non_literal_str).Mara Bos-1/+1
2020-09-29core::global_allocator docs link to std::alloc::GlobalAllocShahar Or (mightyiam)-0/+2
2020-09-01Rollup merge of #74880 - chrisduerr:fix_matches, r=dtolnayTyler Mandry-1/+1
2020-08-25Use intra-doc links in `core::macros`Camelid-13/+13
2020-08-24Use intra-doc-links in `core::{char, macros, fmt}`LeSeulArtichaut-53/+11
2020-07-28Add trailing comma support to matches macroChristian Duerr-1/+1