rust/tests
bors 35ebdf9ba1 Auto merge of #147728 - Enselic:gdbt-check-typo, r=Zalathar
tests: activate misspelled `gdb-check` in `function-arg-initialization.rs`

In 9253e1206e a bunch of `gdbr-check` (for `rust-gdb`) directives and `gdbg-check` (for plain `gdb`) directives were added. But in two places the author accidentally wrote `gdbt-check` instead (`t` is next to `r` on the keyboard). This commit fixes that typo.

rust-lang/rust#129218 later renamed `gdbr-check` to just `gdb-check` which is why we rename to `gdb-check` directly.

The test still passes locally for me after the change, but fails if I change the `gdb-check` checks to check for some other string, so the check seems to still perform its intended function.

Note that we need to add a `std::hint::black_box()` to avoid

    $4 = <optimized out>

prints on at least `aarch64-gnu-llvm-20-1`.

After this there are no more instances of the string `gdbt` in the code base:
```console
$ git grep gdbt
```

try-job: dist-i586-gnu-i586-i686-musl
2025-11-03 10:10:34 +00:00
..
assembly-llvm compiletest: rename add-core-stubs to add-minicore 2025-11-02 16:20:06 +01:00
auxiliary Add test for addrspacecasting global vars 2025-09-03 08:40:51 +02:00
codegen-llvm compiletest: rename add-core-stubs to add-minicore 2025-11-02 16:20:06 +01:00
codegen-units pub async fn implementation coroutine (func::{closure#0}) is monomorphized, when func itself is monomorphized 2025-09-01 13:45:00 +07:00
coverage Add coverage scope for controlling paths in code coverage 2025-10-27 12:54:24 +01:00
coverage-run-rustdoc
crashes Rollup merge of #147642 - camelid:misc-const-fixes, r=BoxyUwU 2025-11-02 15:56:48 +01:00
debuginfo Auto merge of #147728 - Enselic:gdbt-check-typo, r=Zalathar 2025-11-03 10:10:34 +00:00
incremental Add a fast path for lowering trivial consts 2025-10-25 16:59:53 -04:00
mir-opt require T: !Unpin for &pin mut T to be projected to &pin mut T.U where U: ?Unpin 2025-10-30 07:56:17 +08:00
pretty Remove QPath::LangItem from ranges 2025-10-27 21:19:38 -05:00
run-make fix rebase 2025-11-02 20:17:06 +00:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc Move rustdoc tests to appropriate subdirectories 2025-10-26 19:16:41 -07:00
rustdoc-gui rustdoc-search: add test case for throbber 2025-10-07 12:59:58 -07:00
rustdoc-js Add regression test for including extern crates in import filtering 2025-11-01 00:13:19 +01:00
rustdoc-js-std Add regression test for including derive macros in macro filtering 2025-10-27 16:00:32 +01:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Rollup merge of #148290 - oli-obk:push-qwxvxyopypry, r=nnethercote 2025-11-02 09:10:38 +01:00
ui Auto merge of #148420 - Zalathar:rollup-1rrbzk7, r=Zalathar 2025-11-03 02:52:00 +00:00
ui-fulldeps When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
COMPILER_TESTS.md