Files
rust/compiler
bors edcbcc768a Auto merge of #119072 - fee1-dead-contrib:effects-fixes, r=compiler-errors
Clean up `check_consts` and misc fixes

1. Remove most of the logic around erroring with trait methods. I have kept the part resolving it to a concrete impl, as that is used for const stability checks.
2. Turning on `effects` causes ICE with generic args, due to `~const Tr` when `Tr` is not `#[const_trait]` tripping up expectation in code that handles generic args, more specifically here:
https://github.com/rust-lang/rust/blob/8681e077b8afa99d60acf8f8470a012a3ce709a5/compiler/rustc_hir_analysis/src/astconv/generics.rs#L377

We set `arg_count.correct` to `Err` to correctly signal that an error has already been reported.

3. UI test blesses.

Edit(fmease): Fixes #117244 (UI test is in #119099 for now).

r? compiler-errors
2023-12-23 12:26:22 +00:00
..
2023-10-30 08:46:02 +11:00
2023-12-16 02:36:35 -08:00
2023-12-05 17:52:51 -08:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-26 08:38:02 +11:00
2023-11-23 14:11:02 +03:00
2023-12-16 01:28:06 +00:00
2023-12-23 13:23:28 +11:00
2023-12-19 12:26:27 -08:00
2023-11-22 08:13:21 +11:00