Closed
Description
After a discussion on the community discord with @jieyouxu
This pr has tests (in tests/ui/eii) that have errors in auxiliary crates. Until recently (before a rebase yesterday. I've not completely figured out when it stopped working) this was fine. In the aux crate there's also a marking (//~ error ...
). However, after the rebase it complains that there's errors without a span being emitted while none were expected. This is in some sense true, errors are emitted with spans from a different crate.
as an example:
the stderr of one of my tests:
and yet:
where the aux crate is annotated with:
in other words, this is an expected error.
Metadata
Metadata
Assignees
Labels
Area: The compiletest test runnerArea: Messages for errors, warnings, and lintsArea: The testsuite used to check the correctness of rustcCategory: Discussion or questions that doesn't represent real issues.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the compiler team, which will review and decide on the PR/issue.