about summary refs log tree commit diff
path: root/tests/ui/impl-trait/impl-trait-plus-priority.rs
AgeCommit message (Collapse)AuthorLines
2025-04-15Improve diagnostic for E0178 (bad `+` in type)León Orell Valerian Liehr-2/+2
Namely, use a more sensical primary span. Don't pretty-print AST nodes for the diagnostic message. Why: * It's lossy (e.g., it doesn't replicate trailing `+`s in trait objects. * It's prone to leak error nodes (printed as `(/*ERROR*/)`) since the LHS can easily represent recovered code (e.g., `fn(i32?) + T`).
2024-11-29Rename `-Zparse-only`.Nicholas Nethercote-1/+1
I was surprised to find that running with `-Zparse-only` only parses the crate root file. Other files aren't parsed because that happens later during expansion. This commit renames the option and updates the help message to make this clearer.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+49