rust/compiler/rustc_middle/src
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
..
dep_graph Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
hir Add a helper function for checking whether a default function in a trait can be treated as const 2022-05-30 08:52:25 +00:00
infer fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
middle factor out the rvalue lifetime rule 2022-05-22 16:46:50 +08:00
mir Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
query Auto merge of #97383 - dingxiangfei2009:restore-region-scope-tree-query, r=dingxiangfei2009 2022-05-28 14:30:25 +00:00
thir Reimplement lowering of sym operands for asm! so that it also works with global_asm! 2022-04-14 15:32:03 +01:00
traits Lifetime variance fixes for rustc 2022-05-22 14:29:32 -07:00
ty Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs try to cache region_scope_tree as a query 2022-05-25 13:52:32 +08:00
lib.rs Finish bumping stage0 2022-05-27 07:36:17 -04:00
lint.rs Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs correctly deal with user type ascriptions in pat 2022-05-21 08:13:17 +02:00