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
..
assembly Bless/fix tests 2024-02-08 19:56:30 -05:00
auxiliary
codegen Rollup merge of #118307 - scottmcm:tuple-eq-simpler, r=joshtriplett 2024-02-11 08:25:41 +01:00
codegen-units
coverage Enable by default. 2024-02-09 21:13:51 +00:00
coverage-run-rustdoc
debuginfo
incremental Tweak delayed bug mentions. 2024-02-12 18:39:20 +11:00
mir-opt Check representation of unnamed fields 2024-02-12 12:47:31 +08:00
pretty
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc Unify item relative path computation in one function 2024-02-09 14:16:37 +01:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Clean inlined type alias with correct param-env 2024-02-12 04:51:49 +00:00
ui Rollup merge of #120970 - RalfJung:static-promoted-test, r=oli-obk 2024-02-12 23:18:55 +01:00
ui-fulldeps Rollup merge of #120734 - nnethercote:SubdiagnosticMessageOp, r=compiler-errors 2024-02-08 09:06:36 +01:00
COMPILER_TESTS.md