about summary refs log tree commit diff
path: root/tests/ui/json
AgeCommit message (Collapse)AuthorLines
2025-05-04compiletest: Support matching on non-json lines in compiler outputVadim Petrochenkov-4/+14
and migrate most of remaining `error-pattern`s to it.
2025-03-04tests: rebless some tests as a side-effect of `TEST_BUILD_DIR` changes许杰友 Jieyou Xu (Joe)-2/+2
2025-02-03fix `json-*.rs` and `E0462` tests for compare-modesRémy Rakic-0/+2
2025-01-27Remove all dead files inside tests/ui/León Orell Valerian Liehr-2/+0
2024-10-30Annotate `input` reference testsEric Huss-4/+8
2024-08-06On short error format, append primary span label to messageEsteban Küber-9/+9
The `error-format=short` output only displays the path, error code and main error message all in the same line. We now add the primary span label as well after the error message, to provide more context.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-22/+22
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-13Use `$message_type` as the tagJeremy Fitzhardinge-14/+14
`type` turned out to be controversial.
2023-09-19Add `type` field to json diagnostic outputsJeremy Fitzhardinge-14/+14
Currently the json-formatted outputs have no way to unambiguously determine which kind of message is being output. A consumer can look for specific fields in the json object (eg "message"), but there's no guarantee that in future some other kind of output will have a field of the same name. This PR adds a `"type"` field to add json outputs which can be used to unambiguously determine which kind of output it is. The mapping is: diagnostic: regular compiler diagnostics artifact: artifact notifications future_incompat: Report of future incompatibility unused_extern: Unused crate warnings/errors This matches the "internally tagged" representation for serde enums.
2023-01-30Modify primary span label for E0308Esteban Küber-8/+8
The previous output was unintuitive to users.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+341