rust/tests
Matthias Krüger 3daa015f82
Rollup merge of #129472 - folkertdev:const-refs-to-static-asm-const, r=lcnr
fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes https://github.com/rust-lang/rust/issues/129462
fixes #126896
fixes #124164

I think this is a case that was missed in the fix for https://github.com/rust-lang/rust/pull/125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? ``@lcnr``
2024-09-05 19:43:46 +02:00
..
assembly rtems: Add spec file for arm_rtems6_eabihf 2024-09-03 09:20:49 +02:00
auxiliary
codegen ignore/fix layout-sensitive tests 2024-08-31 23:56:45 +02:00
codegen-units
coverage
coverage-run-rustdoc
crashes propagate tainted_by_errors in MirBorrowckCtxt::emit_errors 2024-09-04 20:06:33 +02:00
debuginfo Make option-like-enum.rs UB-free and portable 2024-08-27 19:12:14 -04:00
incremental Rollup merge of #127279 - bvanjoi:fix-112680, r=petrochenkov 2024-08-21 19:35:10 +02:00
mir-opt Rollup merge of #129664 - adetaylor:arbitrary-self-types-pointers-feature-gate, r=wesleywiser 2024-09-05 03:47:42 +02:00
pretty stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
run-make Rollup merge of #129837 - aDotInTheVoid:test-better-json, r=jieyouxu 2024-09-02 04:19:30 +02:00
run-pass-valgrind
rustdoc Rollup merge of #120736 - notriddle:notriddle/toc, r=t-rustdoc 2024-09-05 03:47:40 +02:00
rustdoc-gui Rollup merge of #120736 - notriddle:notriddle/toc, r=t-rustdoc 2024-09-05 03:47:40 +02:00
rustdoc-js
rustdoc-js-std rustdoc: show exact case-sensitive matches first 2024-08-23 13:05:24 -04:00
rustdoc-json Rollup merge of #129123 - aDotInTheVoid:rustdoc-json-self, r=fmease 2024-08-31 10:08:52 +02:00
rustdoc-ui Adjust expected errors for a rustdoc test 2024-08-18 22:52:54 -05:00
ui Rollup merge of #129472 - folkertdev:const-refs-to-static-asm-const, r=lcnr 2024-09-05 19:43:46 +02:00
ui-fulldeps Add an internal lint that warns when accessing untracked data 2024-09-03 19:14:19 +02:00
COMPILER_TESTS.md