about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros
AgeCommit message (Expand)AuthorLines
2021-03-10Rollup merge of #82217 - m-ou-se:edition-prelude, r=nikomatsakisDylan DPC-11/+19
2021-03-08Move default inline asm dialect to Sessionasquared31415-6/+2
2021-03-08Rollup merge of #82682 - petrochenkov:cfgeval, r=Aaron1011Dylan DPC-21/+162
2021-03-07rustc_builtin_macros: Share some more logic between `derive` and `cfg_eval`Vadim Petrochenkov-26/+14
2021-03-07cfg_eval: Configure everything through mutable visitor methodsVadim Petrochenkov-70/+27
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-7/+178
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+31
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-9/+3
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-2/+2
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-4/+3
2021-02-25Pick the injected prelude based on the edition.Mara Bos-11/+19
2021-02-20Remove some P-sDániel Buga-4/+3
2021-02-20Take into account target default syntaxasquared31415-48/+72
2021-02-18Emit error when trying to use assembler syntax directives in `asm!`asquared31415-1/+52
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-7/+6
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-6/+10
2021-02-16avoid full-slicing slicesMatthias Krüger-3/+3
2021-02-14bumped smallvec depsklensy-1/+1
2021-02-10Borrow builder only once in debug deriveTomasz Miąsko-9/+12
2021-02-09fix derive(RustcEncodable, RustcDecodable)Skgland-18/+12
2021-02-09use ufcs in derive(RustDecodable)Skgland-19/+31
2021-02-09use ufcs in derive(RustEncodable)Skgland-20/+40
2021-02-09use ufcs in derive(Ord) and derive(PartialOrd)Skgland-4/+7
2021-02-09Fix derived PartialOrd operatorsTomasz Miąsko-190/+7
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-0/+135
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