diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-13 12:32:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-13 12:32:19 +0200 |
| commit | 0fa7101a8d5cad234af75eeeef1549df7f2ab0a7 (patch) | |
| tree | 3143021aea54026ff868570bee4faca78566706a /library/std/src/io/error.rs | |
| parent | 84dd8cdb228d692bff83eef4b9f9483457ed8be1 (diff) | |
| parent | 40ca4d8cd3c708bddb4bbba83288d1fe25fe5ab2 (diff) | |
| download | rust-0fa7101a8d5cad234af75eeeef1549df7f2ab0a7.tar.gz rust-0fa7101a8d5cad234af75eeeef1549df7f2ab0a7.zip | |
Rollup merge of #131642 - jieyouxu:build-fail-check-fail, r=Kobzol
Special case error message for a `build-fail` test that failed check build A `build-fail` test requires that a check build (roughly `--emit=metadata`, no codegen) succeeds but fails later. Previously, if its check build failed, the user will see the error message ``` error: test compilation failed although it shouldn't! ``` which is confusing. Because the test is `build-fail`, we want the test compilation to fail! This error message doesn't account for the difference between a check build and a complete build, so let's special case the error message for a `build-fail` test whose check build failed to instead say ``` error: `build-fail` test is required to pass check build, but check build failed ``` Fixes #130894.
Diffstat (limited to 'library/std/src/io/error.rs')
0 files changed, 0 insertions, 0 deletions
