-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make tidy errors red #106286
Make tidy errors red #106286
Conversation
c9d09ef
to
2790285
Compare
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.
before:
tidy check
Checking which error codes lack tests...
* 633 error codes
* highest error code: E0791
tidy error: /home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md: empty file
tidy error: /home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md: leading newline
* 393 features
`/home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md` doesn't use its own error code in compile_fail example
Found 1 error(s) in error codes
Done!
some tidy checks failed
after:
tidy check
* 633 error codes
* highest error code: E0791
tidy error: /home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md: empty file
tidy error: /home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md: leading newline
* 393 features
tidy error: `/home/gh-jyn514/rust2/compiler/rustc_error_codes/src/error_codes/E0790.md` doesn't use its own error code in compile_fail example
some tidy checks failed
The changes in text look reasonable, but I'm not seeing them show up as red? Am I missing something?
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.
whoops, accidentally buffered this comment instead of directly sending it
2790285
to
a078c4d
Compare
This makes it easier to see them (and makes people go owo).
a078c4d
to
75b3ee2
Compare
Looks great, thanks! r=me with CI passing :) |
@bors r+ |
@bors rollup |
Make tidy errors red This makes it easier to see them (and makes people go owo). I also changes the error codes check to not print too many things and use `tidy_error`. r? `@jyn514`
Make tidy errors red This makes it easier to see them (and makes people go owo). I also changes the error codes check to not print too many things and use `tidy_error`. r? ``@jyn514``
…mpiler-errors Rollup of 9 pull requests Successful merges: - rust-lang#105903 (Unify id-based thread parking implementations) - rust-lang#106232 (CFI: Monomorphize transparent ADTs before typeid) - rust-lang#106248 (Revert "Implement allow-by-default `multiple_supertrait_upcastable` lint") - rust-lang#106286 (Make tidy errors red) - rust-lang#106295 (Extend scraped examples layout GUI test for position of buttons) - rust-lang#106305 ( bootstrap: Get rid of tail_args in stream_cargo) - rust-lang#106310 (Dont use `--merge-base` during bootstrap formatting subcommand) - rust-lang#106314 (Fix panic on `x build --help`) - rust-lang#106317 (Only deduplicate stack traces for good path bugs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This makes it easier to see them (and makes people go owo).
I also changes the error codes check to not print too many things and use
tidy_error
.r? @jyn514