about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
2021-12-09Remove redundant [..]sest31-10/+10
2021-12-03Annotate `derive`d spans and move span suggestion codeEsteban Kuber-61/+74
2021-12-03Remove some unnecessarily verbose codeEsteban Kuber-20/+5
2021-12-03Keep spans for generics in `#[derive(_)]` desugaringEsteban Kuber-23/+19
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-15/+15
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-2/+2
2021-10-08clippy::complexity fixesMatthias Krüger-1/+1
2021-09-29Fix truncate of 'bound params stack' by using the correct lengthAudun Halland-1/+1
2021-09-29Deriving: Include bound generic params for extracted type parameters in where...Audun Halland-10/+40
2021-09-10Introduce a fast path that avoids the `debug_tuple` abstraction when derivingPatrick Walton-3/+17
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-0/+1
2021-08-30Add let-else to ASTCameron Steffen-2/+2
2021-08-24Auto merge of #87739 - Aaron1011:remove-used-attrs, r=wesleywiserbors-2/+0
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-2/+0
2021-08-18Remove box syntax from rustc_builtin_macrosest31-7/+12
2021-07-27Prohibit `#[default]` in invalid placesJacob Pratt-3/+37
2021-07-27Add machine-applicable suggestionsJacob Pratt-8/+42
2021-07-27Permit deriving default on enums with `#[default]`Jacob Pratt-31/+166
2021-07-21Rollup merge of #87206 - matthiaskrgr:clippy_collect, r=davidtwcoGuillaume Gomez-7/+3
2021-07-19Auto merge of #87225 - estebank:cleanup, r=oli-obkbors-5/+1
2021-07-19Various diagnostics clean ups/tweaksEsteban Küber-5/+1
2021-07-17Use LocalExpnId where possible.Camille GILLOT-3/+4
2021-07-17avoid temporary vectorsMatthias Krüger-7/+3
2021-06-17Make `s` pre-internedYuki Okushi-6/+1
2021-05-05Disallows `#![feature(no_coverage)]` on stable and betaRich Kadel-11/+3
2021-04-27adds feature gating of `no_coverage` at either crate- or function-levelRich Kadel-1/+10
2021-04-27Derived Eq no longer shows uncoveredRich Kadel-1/+2
2021-04-16builtin derive macros: fix error with const generics defaultSoveu-2/+13
2021-03-26Use iter::zip in compiler/Josh Stone-5/+3
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-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-03Auto merge of #81294 - pnkfelix:issue-81211-use-ufcs-in-derive-debug, r=oli-obkbors-17/+21
2021-02-02Auto merge of #81405 - bugadani:ast, r=cjgillotbors-8/+8
2021-02-02Bump rustfmt versionMark Rousskov-1/+1
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-01Box the biggest ast::ItemKind variantsDániel Buga-8/+8
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-24use matches!() macro in more placesMatthias Krüger-11/+8
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-1/+21