rust/tests
Keith-Cancel 4c93efae2b Fix ICE: When Trying to check visibility of a #[type_const], check RHS instead.
We want to evaluate the rhs of a type_const.

Also added an early return/guard in eval_in_interpreter which is used in functions like `eval_to_allocation_raw_provider`

Lastly add a debug assert to `thir_body()` if we have gotten there with a type_const something as gone wrong.

Get rid of a call to is_type_const() and instead use a match arm.

Change this is_type_const() check to a debug_assert!()

Change to use an if else statment instead.

Update type_const-pub.rs

Fix formatting.

Noticed that this is the same check as is_type_const() centralize it.

Add test case for pub type_const.
2026-01-16 20:30:58 -08:00
..
assembly-llvm Rollup merge of #150826 - s390x-asm-f16-vector, r=uweigand,tgross35 2026-01-13 09:01:29 +01:00
auxiliary Rollup merge of #150368 - minicore-ordering, r=workingjubilee 2026-01-11 09:56:38 +01:00
codegen-llvm Rollup merge of #150607 - dispatch-ptr-intrinsic, r=workingjubilee 2026-01-15 19:35:46 -05:00
codegen-units address review comments; fix CI 2026-01-01 19:17:11 -05:00
coverage Create place and value indices on-demand. 2025-12-14 16:33:24 +00:00
coverage-run-rustdoc
crashes Bless other tests 2026-01-07 09:33:40 +08:00
debuginfo Run dummy_span.rs test with SimplifyComparisonIntegral 2026-01-14 18:57:17 +08:00
incremental Implement incremental caching for derive macro expansions 2026-01-16 07:36:36 +01:00
mir-opt Rollup merge of #151123 - type-info-primitives, r=oli-obk 2026-01-16 13:57:46 +01:00
pretty Explicitly export core and std macros 2026-01-13 08:47:48 +01:00
run-make Disable dump-ice-to-disk on i686-pc-windows-msvc 2026-01-16 09:27:45 +08:00
run-make-cargo tests/run-make-cargo/same-crate-name-and-macro-name: New regression test 2025-12-17 11:21:27 +01:00
rustdoc-gui Reduce rustdoc GUI flakyness, take 2 2026-01-14 22:47:53 +01:00
rustdoc-html Rollup merge of #150586 - intra-doc-assoc-alias, r=GuillaumeGomez 2026-01-14 22:29:55 +01:00
rustdoc-js Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar 2025-11-27 07:30:25 +00:00
rustdoc-js-std Explicitly export core and std macros 2026-01-13 08:47:48 +01:00
rustdoc-json
rustdoc-ui Rollup merge of #150934 - move-doc-attr-checks, r=JonathanBrouwer 2026-01-13 09:01:31 +01:00
ui Fix ICE: When Trying to check visibility of a #[type_const], check RHS instead. 2026-01-16 20:30:58 -08:00
ui-fulldeps Rollup merge of #151096 - rm-providers-deref, r=oli-obk 2026-01-14 11:05:42 +01:00
COMPILER_TESTS.md