rust/tests/ui/eii
Jonathan Brouwer 46d4bbf6df
Rollup merge of #150971 - disallow-eii-in-statement-position, r=wafflelapkin
Disallow eii in statement position

With how v2 macros resolve, and the name resolution of `super` works, I realized with @WaffleLapkin that there's actually no way to consistently expand EIIs in statement position.

r? @WaffleLapkin
2026-01-14 22:29:58 +01:00
..
auxiliary once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
default another related case that deserved a test 2025-12-17 18:05:13 +01:00
duplicate once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
linking once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
type_checking ensure generics are still properly reported on EII *implementations*, and test this 2026-01-13 11:59:59 +01:00
attribute_targets.rs move eii tests 2025-12-19 12:42:49 +01:00
attribute_targets.stderr move eii tests 2025-12-19 12:42:49 +01:00
error_statement_position.rs add test for rejecting EIIs in statement position 2026-01-13 12:08:10 +01:00
error_statement_position.stderr add test for rejecting EIIs in statement position 2026-01-13 12:08:10 +01:00
errors.rs rename eii-extern-target 2026-01-12 08:07:23 +01:00
errors.stderr rename eii-extern-target 2026-01-12 08:07:23 +01:00
privacy1.rs once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
privacy1.run.stdout EII tests 2025-12-12 11:17:32 +01:00
privacy2.rs once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
privacy2.stderr once again reorganize the EII tests a bit 2026-01-10 11:10:44 +01:00
unsafe_impl_err.rs rename eii-extern-target 2026-01-12 08:07:23 +01:00
unsafe_impl_err.stderr TEMP: fixes error codes in non-codegen tests. those work after the type checking 2025-12-12 11:17:32 +01:00
unsafe_impl_ok.rs rename eii-extern-target 2026-01-12 08:07:23 +01:00