rust/compiler
bors aea2e446f0 Auto merge of #86735 - jhpratt:rfc-3107, r=petrochenkov
Implement RFC 3107: `#[derive(Default)]` on enums with a `#[default]` attribute

This PR implements RFC 3107, which permits `#[derive(Default)]` on enums where a unit variant has a `#[default]` attribute. See comments for current status.
2021-07-28 05:59:30 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Stabilize const_fn_transmute 2021-07-27 16:03:09 -04:00
rustc_ast_lowering Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_ast_passes Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
rustc_ast_pretty Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
rustc_attr Enhance well-formedness checks for #[repr(...)] attributes 2021-07-09 22:03:48 +02:00
rustc_builtin_macros Prohibit #[default] in invalid places 2021-07-27 15:47:49 -04:00
rustc_codegen_cranelift Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
rustc_codegen_llvm Auto merge of #86950 - tmiasko:personality, r=nagisa 2021-07-18 20:33:23 +00:00
rustc_codegen_ssa Auto merge of #87153 - michaelwoerister:debuginfo-names-dyn-trait-projection-bounds, r=wesleywiser 2021-07-19 21:25:43 +00:00
rustc_data_structures Auto merge of #86429 - JohnTitor:get-by-key-enum-part-2, r=oli-obk 2021-07-23 23:17:38 +00:00
rustc_driver
rustc_error_codes Indicate E0665 is no longer emitted 2021-07-27 15:47:49 -04:00
rustc_errors Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
rustc_expand Auto merge of #87381 - Aaron1011:note-semi-trailing-macro, r=petrochenkov 2021-07-25 04:34:58 +00:00
rustc_feature Auto merge of #86735 - jhpratt:rfc-3107, r=petrochenkov 2021-07-28 05:59:30 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_hir_pretty Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_incremental Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_index
rustc_infer Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
rustc_interface Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_lexer Remove ASCII fast path from rustc_lexer::{is_id_continue, is_id_start} 2021-07-26 20:17:28 -04:00
rustc_lint Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_lint_defs Display an extra note for trailing semicolon lint with trailing macro 2021-07-24 11:46:44 -05:00
rustc_llvm Upgrade cc crate to 1.0.69 2021-07-13 17:58:50 +09:00
rustc_macros Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_metadata Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
rustc_middle Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_mir Stabilize const_fn_union 2021-07-27 16:03:33 -04:00
rustc_mir_build Auto merge of #80367 - camelid:check_match-combine-loop, r=Nadrieril 2021-07-27 19:56:18 +00:00
rustc_parse Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
rustc_parse_format Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
rustc_passes Only check macro attributes when checking the crate root. 2021-07-25 12:23:37 +02:00
rustc_plugin_impl
rustc_privacy Actually infer args in visitors 2021-07-26 21:15:18 +00:00
rustc_query_impl Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
rustc_query_system
rustc_resolve Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_save_analysis Introduce OwnerNode::Crate. 2021-07-25 12:22:47 +02:00
rustc_serialize
rustc_session Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_span Permit deriving default on enums with #[default] 2021-07-27 15:47:47 -04:00
rustc_symbol_mangling
rustc_target freebsd remove compiler workaround. 2021-07-25 17:38:44 +01:00
rustc_trait_selection Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
rustc_traits Add initial implementation of HIR-based WF checking for diagnostics 2021-07-16 16:29:02 -05:00
rustc_ty_utils Add impl_constness query 2021-07-10 20:54:49 +08:00
rustc_type_ir
rustc_typeck Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00