Skip to content

compiletest: do not talk about JSON when the user never sees any - #160016

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:compiletest-json
Jul 27, 2026
Merged

compiletest: do not talk about JSON when the user never sees any#160016
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:compiletest-json

Conversation

@RalfJung

Copy link
Copy Markdown
Member

The user is not reading or writing any JSON here so it's quite confusing to talk about the "JSON output". JSON is just how rustc emits the errors so compiletest can parse them, but that's an implementation detail that we should not leak.

r? @petrochenkov

@rustbot

rustbot commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc labels Jul 27, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jul 27, 2026
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 2ddda91 has been approved by petrochenkov

It is now in the queue for this repository.

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

Reason for tree closure: spurious failures

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 27, 2026
rust-bors Bot pushed a commit that referenced this pull request Jul 27, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - #160009 (`rust-analyzer` subtree update)
 - #159833 (ci: Make the `x86_64-gnu-parallel-frontend` job non-optional)
 - #158873 (applying `/Brepro` in bootstrap on MSVC and adding a run-make test.)
 - #159777 (Enforce that we don't generate code for comptime fns)
 - #159997 (On many bindings with move error, limit the number of `Span`s)
 - #158205 (fix: defer const normalize in coherence mode)
 - #159312 (Windows implementation for stdio set/take/replace)
 - #159772 (Fix lowering of resolved const inference variables)
 - #159785 (Share _Unwind_Exception definition between native and wasm)
 - #159968 (Fix the const impl suggestion)
 - #159974 (Update thinvec to 0.2.19)
 - #160013 (tests/ui: Ignore one query cycle test in parallel frontend mode)
 - #160016 (compiletest: do not talk about JSON when the user never sees any)
 - #160018 (test suite: add ARM case to ABI-required target feature check for -Ctarget-cpu)
@rust-bors
rust-bors Bot merged commit a245f4d into rust-lang:main Jul 27, 2026
13 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Jul 27, 2026
rust-timer added a commit that referenced this pull request Jul 27, 2026
Rollup merge of #160016 - RalfJung:compiletest-json, r=petrochenkov

compiletest: do not talk about JSON when the user never sees any

The user is not reading or writing any JSON here so it's quite confusing to talk about the "JSON output". JSON is just how rustc emits the errors so compiletest can parse them, but that's an implementation detail that we should not leak.

r? @petrochenkov
@RalfJung
RalfJung deleted the compiletest-json branch July 28, 2026 06:46
github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Aug 3, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - rust-lang/rust#160009 (`rust-analyzer` subtree update)
 - rust-lang/rust#159833 (ci: Make the `x86_64-gnu-parallel-frontend` job non-optional)
 - rust-lang/rust#158873 (applying `/Brepro` in bootstrap on MSVC and adding a run-make test.)
 - rust-lang/rust#159777 (Enforce that we don't generate code for comptime fns)
 - rust-lang/rust#159997 (On many bindings with move error, limit the number of `Span`s)
 - rust-lang/rust#158205 (fix: defer const normalize in coherence mode)
 - rust-lang/rust#159312 (Windows implementation for stdio set/take/replace)
 - rust-lang/rust#159772 (Fix lowering of resolved const inference variables)
 - rust-lang/rust#159785 (Share _Unwind_Exception definition between native and wasm)
 - rust-lang/rust#159968 (Fix the const impl suggestion)
 - rust-lang/rust#159974 (Update thinvec to 0.2.19)
 - rust-lang/rust#160013 (tests/ui: Ignore one query cycle test in parallel frontend mode)
 - rust-lang/rust#160016 (compiletest: do not talk about JSON when the user never sees any)
 - rust-lang/rust#160018 (test suite: add ARM case to ABI-required target feature check for -Ctarget-cpu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants