rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.59k stars 12.74k forks source link

Add a regression test for #132587 #132727

Open jieyouxu opened 1 week ago

jieyouxu commented 1 week ago

132587 partially reverted #129346 because that caused a test failure in cfg_eval, but the revert PR didn't come with a test because it involved proc-macros and was hard to minimize. We should still add a regression test.

@rustbot label +E-needs-test

jieyouxu commented 1 week ago

Initial report at https://github.com/rust-lang/rust/pull/129346#pullrequestreview-2377762071

jieyouxu commented 1 week ago

See also exploration in #132587, e.g. https://github.com/rust-lang/rust/pull/132587#issuecomment-2454860093