about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-10-12 21:38:37 -0500
committerGitHub <noreply@github.com>2024-10-12 21:38:37 -0500
commit507dd637a3833a673a6a7b8c7bc822f88db97d52 (patch)
treec5bcd00380380d5044e35ccf4219baa6ab8a98aa /compiler/rustc_codegen_llvm/src
parent415e61c2097ff26f6cb75279d8686ad507c3c823 (diff)
parent1fe079bd62e68d94d5eff51cea94014a7e3c4625 (diff)
downloadrust-507dd637a3833a673a6a7b8c7bc822f88db97d52.tar.gz
rust-507dd637a3833a673a6a7b8c7bc822f88db97d52.zip
Rollup merge of #131579 - jieyouxu:ui-panic-username, r=compiler-errors
Remap path prefix in the panic message of `tests/ui/meta/revision-bad.rs`

Otherwise `error-pattern` on the test run stderr can incorrectly match if the paths in panic backtrace has a matching substring (like if we look for `bar` in the error pattern, but the username is `baron`).

Tested locally by checking run output `./x test .\tests\ui\meta\revision-bad.rs -- -- --nocapture`:

```
--- stderr -------------------------------
thread 'main' panicked at remapped\meta\revision-bad.rs:14:5:
foo
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------
```

Fixes #130996.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions