Files
rust/tests/ui
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-12-22 11:01:07 -08:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-11-28 23:17:28 +00:00
2023-12-07 17:46:36 +01:00
2023-12-19 04:28:21 +00:00
2023-09-06 12:09:29 +03:00
2023-12-23 00:09:37 +08:00
2023-12-15 16:12:27 +00:00
2023-12-10 14:25:57 +01:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-19 04:28:21 +00:00
2023-12-01 20:01:39 +00:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-15 16:12:27 +00:00
2023-12-17 07:31:07 +00:00
2023-11-24 21:04:51 +01:00
2023-12-15 08:34:59 -08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-15 16:12:27 +00:00
2023-12-14 15:22:37 +01:00
2023-07-29 11:47:26 +02:00
2023-10-28 23:11:03 -07:00
2023-12-20 19:39:46 +01:00
2023-08-14 16:57:51 -07:00
2023-12-22 11:01:07 -08:00
2023-10-20 21:14:01 +00:00
2023-12-22 11:01:07 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00
2023-10-20 21:14:01 +00:00