rust/compiler/rustc_hir_analysis/src
bors 4e91cedaed Auto merge of #129499 - fee1-dead-contrib:supereffects, r=compiler-errors
properly elaborate effects implied bounds for super traits

Summary: This PR makes it so that we elaborate `<T as Tr>::Fx: EffectsCompat<somebool>` into `<T as SuperTr>::Fx: EffectsCompat<somebool>` when we know that `trait Tr: ~const SuperTr`.

Some discussion at https://github.com/rust-lang/project-const-traits/issues/2.

r? project-const-traits
`@rust-lang/project-const-traits:` how do we feel about this approach?
2024-09-30 00:30:09 +00:00
..
check Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
coherence Rollup merge of #130826 - fmease:compiler-mv-obj-safe-dyn-compat, r=compiler-errors 2024-09-27 21:35:08 +02:00
collect properly elaborate effects implied bounds for super traits 2024-09-27 22:36:46 +08:00
errors Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hir_ty_lowering Rollup merge of #130826 - fmease:compiler-mv-obj-safe-dyn-compat, r=compiler-errors 2024-09-27 21:35:08 +02:00
impl_wf_check Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
outlives Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
variance Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
autoderef.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
bounds.rs properly elaborate effects implied bounds for super traits 2024-09-27 22:36:46 +08:00
check_unused.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
collect.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
constrained_generic_params.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
delegation.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Add missing diagnostics and flesh out tests 2024-09-20 22:18:57 -04:00
hir_wf_check.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
impl_wf_check.rs Add warn(unreachable_pub) to rustc_hir_analysis. 2024-08-27 13:14:50 +10:00
lib.rs Separate collection of crate-local inherent impls from error reporting 2024-09-24 10:12:05 -04:00