about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
AgeCommit message (Expand)AuthorLines
2021-02-03Auto merge of #81294 - pnkfelix:issue-81211-use-ufcs-in-derive-debug, r=oli-obkbors-17/+21
2021-02-02Rollup merge of #81647 - m-ou-se:assert-2021-fix, r=petrochenkovJack Huey-2/+2
2021-02-02Auto merge of #81405 - bugadani:ast, r=cjgillotbors-13/+17
2021-02-02Bump rustfmt versionMark Rousskov-1/+1
2021-02-01Fix bug with assert!() calling the wrong edition of panic!().Mara Bos-2/+2
2021-02-01placate tidy.Felix S. Klock II-10/+4
2021-02-01Use UFCS instead of method calls in `derive(Debug)`. See issue 81211 for disc...Felix S. Klock II-15/+25
2021-02-01Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkovbors-0/+51
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-13/+17
2021-01-25Implement new panic!() behaviour for Rust 2021.Mara Bos-0/+51
2021-01-24Rollup merge of #80855 - m-ou-se:assert-2021, r=petrochenkovJonas Schievink-5/+21
2021-01-24Only call span.rust_2021() when necessary.Mara Bos-7/+5
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-2/+3
2021-01-10resolve: Simplify built-in macro tableVadim Petrochenkov-10/+4
2021-01-09Expand assert!(expr, args..) to include $crate for hygiene on 2021.Mara Bos-1/+19
2021-01-09Don't set builtin_name for builtin macro implementations.Mara Bos-1/+1
2021-01-09Allow #[rustc_builtin_macro = "name"].Mara Bos-1/+1
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-5/+5
2021-01-01first pass at default values for const genericsJulian Knodt-1/+2
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-26/+16
2020-12-22Add some intra-doc links to compiler docsJoshua Nelson-1/+4
2020-12-11fix clippy::unnecessary_filter_mapMatthias Krüger-4/+1
2020-11-26Properly handle attributes on statementsAaron Hill-2/+2
2020-11-24Handle `Annotatable::Stmt` in some builtin macrosAaron Hill-14/+70
2020-11-23Reduce boilerplate with the `?` operatorLingMan-10/+6
2020-11-20Auto merge of #78088 - fusion-engineering-forks:panic-fmt-lint, r=estebankbors-22/+30
2020-11-19expand: Mark some dead code in derive expansion as unreachableVadim Petrochenkov-20/+3
2020-11-19expand: Tell built-in macros whether we are currently in forced expansion modeVadim Petrochenkov-4/+7
2020-11-15Rollup merge of #79005 - petrochenkov:noinjected, r=davidtwcoJonas Schievink-3/+3
2020-11-13Reserve space in advanceDániel Buga-1/+1
2020-11-13cleanup: Remove `ParseSess::injected_crate_name`Vadim Petrochenkov-3/+3
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-1/+1
2020-11-10Rollup merge of #78875 - petrochenkov:cleantarg, r=Mark-SimulacrumJonas Schievink-1/+1
2020-11-08Collapse all uses of `target.options.foo` into `target.foo`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-12/+0
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-1/+1
2020-10-19Small cleanups in assert!() and panic_fmt lint.Mara Bos-31/+29
2020-10-18Expand assert!(expr) to panic() function instead of panic!() macro.Mara Bos-26/+36
2020-10-15Replace target.target with target and target.ptr_width with target.pointer_widthest31-1/+1
2020-10-13Rollup merge of #77831 - LingMan:use_std, r=jonas-schievinkYuki Okushi-23/+10
2020-10-11Simplify using is_ascii_alphabetic and is_ascii_alphanumericLingMan-8/+2
2020-10-11Don't duplicate char::is_ascii_digitLingMan-15/+8
2020-10-11Remove unnecessary unsafe block around calls to discriminant_valueTomasz Miąsko-15/+16
2020-10-07Auto merge of #77595 - petrochenkov:asmident, r=oli-obkbors-19/+19
2020-10-06rustc_parse: Make `Parser::unexpected` public and use it in built-in macrosVadim Petrochenkov-4/+3
2020-10-06builtin_macros: Fix use of interpolated identifiers in `asm!`Vadim Petrochenkov-16/+17
2020-10-04Remove extra indirection in LitKind::ByteStrRobin Schoonover-3/+1