-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiletest: Require //~
annotations even if error-pattern
is specified
#139137
Conversation
r? @nnethercote rustbot has assigned @nnethercote. Use |
Some changes occurred in tests/ui/sanitizer cc @rust-lang/project-exploit-mitigations, @rcvalle The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. cc @BoxyUwU, @jieyouxu, @Kobzol Some changes occurred in src/tools/compiletest cc @jieyouxu |
r? jieyouxu |
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
I'll look at this early tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, changes LGTM. Feel free to r=me after fixing the test conflict.
@bors rollup=never p=10 (merge-conflict prone) |
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
@bors r=jieyouxu |
💔 Test failed - checks-actions |
@bors r=jieyouxu |
compiletest: Require `//~` annotations even if `error-pattern` is specified This is continuation of rust-lang#138865 with some help from rust-lang#139100. `error-pattern` annotations that duplicate the newly added `//~` annotations are removed, other `error-pattern`s are not touched yet. In exceptional cases `//@ compile-flags: --error-format=human` can be used to opt out of these checks. In this PR I only had to use the opt out 3 times: - `tests/ui/parser/utf16-{be,le}-without-bom.rs` - there are too many errors that are nearly identical (modulo location), because an error is reported on every second symbol - `tests/ui-fulldeps/missing-rustc-driver-error.rs` - the errors list various rustc crate dependencies and may unexpectedly invalidate on random rustc changes
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
Can be fixed properly later by adding a new flag for non-exhaustive line annotation checking
@bors r=jieyouxu |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing e0883a2 (parent) -> 946aea0 (this PR) Test differencesNo test diffs found Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (946aea0): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -2.5%, secondary -2.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 777.235s -> 776.226s (-0.13%) |
This is continuation of #138865 with some help from #139100.
error-pattern
annotations that duplicate the newly added//~
annotations are removed, othererror-pattern
s are not touched yet.In exceptional cases
//@ compile-flags: --error-format=human
can be used to opt out of these checks.In this PR I only had to use the opt out 3 times:
tests/ui/parser/utf16-{be,le}-without-bom.rs
- there are too many errors that are nearly identical (modulo location), because an error is reported on every second symboltests/ui-fulldeps/missing-rustc-driver-error.rs
- the errors list various rustc crate dependencies and may unexpectedly invalidate on random rustc changes