Diagnostics differ between regular execution and ui tests #131782
Labels
A-compiletest
Area: The compiletest test runner
A-diagnostics
Area: Messages for errors, warnings, and lints
D-diagnostic-infra
Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider this example:
On the playground and when I run it locally, this produces:
However, when I make this a ui test, I get different output:
That's... not great? We're supposed to test what users see, and something seems to be going wrong.
Cc @rust-lang/wg-diagnostics
The text was updated successfully, but these errors were encountered: