rust/compiler
bors 5c780b98d1 Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors
Replace `#[default_method_body_is_const]` with `#[const_trait]`

pulled out of #96077

related issues:  #67792 and #92158

cc `@fee1-dead`

This is groundwork to only allowing `impl const Trait` for traits that are marked with `#[const_trait]`. This is necessary to prevent adding a new default method from becoming a breaking change (as it could be a non-const fn).
2022-05-30 09:19:03 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_ast_pretty
rustc_attr
rustc_borrowck Fix TyKind lint, make consts no longer fn, etc 2022-05-28 11:38:22 -07:00
rustc_builtin_macros Auto merge of #97461 - eddyb:proc-macro-less-payload, r=bjorn3 2022-05-28 16:49:52 +00:00
rustc_codegen_cranelift
rustc_codegen_gcc Finish bumping stage0 2022-05-27 07:36:17 -04:00
rustc_codegen_llvm Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
rustc_codegen_ssa Rollup merge of #97028 - ridwanabdillahi:pretty-printer, r=michaelwoerister 2022-05-29 01:12:30 +02:00
rustc_const_eval Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_data_structures Update to rebased rustc-rayon 0.4 2022-05-27 20:20:41 -07:00
rustc_driver
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand Rollup merge of #97536 - est31:remove_unused_lifetimes, r=compiler-errors 2022-05-29 16:25:05 -07:00
rustc_feature Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Default methods of traits are also AssocFn defs as they essentially desugar to a method in a new impl block 2022-05-30 08:52:25 +00:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
rustc_interface Update to rebased rustc-rayon 0.4 2022-05-27 20:20:41 -07:00
rustc_lexer
rustc_lint Fix TyKind lint, make consts no longer fn, etc 2022-05-28 11:38:22 -07:00
rustc_lint_defs
rustc_llvm
rustc_log clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_macros Make TyCtxt implement Interner, make HashStable generic and move to rustc_type_ir 2022-05-28 12:16:05 -07:00
rustc_metadata Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_middle Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_mir_build Auto merge of #97383 - dingxiangfei2009:restore-region-scope-tree-query, r=dingxiangfei2009 2022-05-28 14:30:25 +00:00
rustc_mir_dataflow
rustc_mir_transform Make TyCtxt implement Interner, make HashStable generic and move to rustc_type_ir 2022-05-28 12:16:05 -07:00
rustc_monomorphize Auto merge of #97168 - SparrowLii:accesses, r=cjgillot 2022-05-26 11:15:15 +00:00
rustc_parse
rustc_parse_format
rustc_passes Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Auto merge of #97287 - compiler-errors:type-interner, r=jackh726,oli-obk 2022-05-29 08:20:13 +00:00
rustc_query_system Auto merge of #97287 - compiler-errors:type-interner, r=jackh726,oli-obk 2022-05-29 08:20:13 +00:00
rustc_resolve
rustc_save_analysis
rustc_serialize
rustc_session Finish bumping stage0 2022-05-27 07:36:17 -04:00
rustc_span Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_symbol_mangling
rustc_target Simplify implementation of -Z gcc-ld 2022-05-25 23:55:22 +03:00
rustc_trait_selection Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
rustc_traits
rustc_ty_utils Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_type_ir Make TyCtxt implement Interner, make HashStable generic and move to rustc_type_ir 2022-05-28 12:16:05 -07:00
rustc_typeck Rollup merge of #97493 - compiler-errors:issue-97490, r=oli-obk 2022-05-29 16:25:02 -07:00