rust/tests
Matthias Krüger 72e8fb4268
Rollup merge of #123050 - RalfJung:panic_str, r=m-ou-se
panic_str only exists for the migration to 2021 panic macros

The only caller is `expect_failed`, which is already a cold inline(never) function, so inlining into that function should be fine. (And indeed `panic_str` was `#[inline]` anyway.)

The existence of panic_str risks someone calling it when they should call `panic` instead, and I can't see a reason why this footgun should exist.

I also extended the comment in `panic` to explain why it needs a `'static` string -- I know I've wondered about this in the past and it took me quite a while to understand.
2024-04-23 12:10:25 +02:00
..
assembly Add support for Arm64EC inline assembly 2024-04-10 10:06:44 -07:00
auxiliary extend extern tests to include FiveU16s 2024-03-17 00:07:42 -04:00
codegen Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
codegen-units Codegen const panic messages as function calls 2024-03-22 09:55:50 -04:00
coverage coverage: Branch coverage tests for match arms 2024-04-22 21:55:33 +10:00
coverage-run-rustdoc
crashes Rollup merge of #124057 - gurry:124031-ice-layout-errored, r=compiler-errors 2024-04-23 06:24:55 +02:00
debuginfo Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
incremental Add missing -Zquery-dep-graph to the spike-neg incr comp tests 2024-04-06 13:36:16 +00:00
mir-opt Rollup merge of #124230 - reitermarkus:generic-nonzero-stable, r=dtolnay 2024-04-22 20:26:00 +02:00
pretty
run-make Auto merge of #124112 - beetrees:incremental-os-str, r=Nadrieril 2024-04-22 04:00:58 +00:00
run-make-fulldeps Soft-destabilize RustcEncodable/RustcDecodable 2024-03-22 13:24:35 -07:00
run-pass-valgrind Add test for Apple's -weak_framework linker argument 2024-03-18 23:27:34 +01:00
rustdoc Auto merge of #118441 - GuillaumeGomez:display-stability-version, r=rustdoc 2024-04-19 14:17:29 +00:00
rustdoc-gui Rollup merge of #124197 - GuillaumeGomez:move-duplicated-code, r=notriddle 2024-04-23 06:24:56 +02:00
rustdoc-js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
rustdoc-js-std rustdoc-search: fix description on aliases in results 2024-04-18 22:21:29 -07:00
rustdoc-json
rustdoc-ui Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkov 2024-04-16 17:54:41 +02:00
ui Rollup merge of #124220 - RalfJung:interpret-wrong-vtable, r=oli-obk 2024-04-23 06:24:57 +02:00
ui-fulldeps Rollup merge of #123050 - RalfJung:panic_str, r=m-ou-se 2024-04-23 12:10:25 +02:00
COMPILER_TESTS.md