Files
rust/tests
Matthias Krüger f759c23b5c Rollup merge of #120970 - RalfJung:static-promoted-test, r=oli-obk
add another test for promoteds-in-static

https://github.com/rust-lang/rust/pull/119614 led to validation of promoteds recursing into statics. These statics can point to `static mut` and interior mutable `static` and do other things we don't allow in `const`, but promoteds are validated as `const`, so we get strange errors (saying "in `const`" when there is no const) and surprising validation failures.

https://github.com/rust-lang/rust/pull/120960 fixes that; this here adds another test.

r? ``@oli-obk``
Fixes https://github.com/rust-lang/rust/issues/120968
2024-02-12 23:18:55 +01:00
..
2024-02-08 19:56:30 -05:00
2024-02-07 10:42:01 +08:00
2024-02-09 21:13:51 +00:00
2024-01-27 16:38:57 +01:00
2024-02-12 18:39:20 +11:00