granite-rust/compiler/rustc_ty_utils/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
..
assoc.rs Store a Symbol instead of an Ident in AssocItem 2022-01-19 17:13:21 -05:00
common_traits.rs Don't consider !Unpin references as noalias 2021-03-21 20:10:53 +01:00
instance.rs Add a query for checking whether a function is an intrinsic. 2022-05-16 07:07:44 +00:00
lib.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
needs_drop.rs Add bound_type_of 2022-05-13 18:27:18 -04:00
representability.rs Specialize suggestion for Option<T> 2022-03-31 08:04:53 -07:00
ty.rs Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00