Rename errors.rs file to diagnostics.rs (2/N)#157535
Conversation
|
Some changes occurred in cc @BoxyUwU Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer Some changes occurred to diagnostic attributes. cc @mejrs Some changes occurred in check-cfg diagnostics cc @Urgau |
errors.rs file to diagnostics.rserrors.rs file to diagnostics.rs (2/N)
There was a problem hiding this comment.
rustc_attr_parsing has both errors.rs and session_diagnostics.rs. I think it makes sense to merge those together into a single diagnostics.rs?
There was a problem hiding this comment.
rustc_attr_parsing/attributes/diagnostic/mod.rs also has some diagnostic structs in it, if we're merging files we might as well move those too.
There was a problem hiding this comment.
Time to merge some files then!
There was a problem hiding this comment.
To clarify; I meant "move the diagnostic structs in rustc_attr_parsing/attributes/diagnostic/mod.rs to diagnostics.rs". Not the attribute parsers.
|
Moved all diagnostics into |
This comment has been minimized.
This comment has been minimized.
139c97a to
feac3e0
Compare
| @@ -1,56 +0,0 @@ | |||
| use rustc_feature::AttributeStability; | |||
There was a problem hiding this comment.
Please undo these deletions. same for all the other files in this directory.
feac3e0 to
8be243d
Compare
This comment has been minimized.
This comment has been minimized.
8be243d to
d16c5fa
Compare
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
|
Ah a flaky. Restarting CI. |
|
CI is happy now. |
…uwer Rollup of 9 pull requests Successful merges: - #157599 (`rust-analyzer` subtree update) - #157298 (Use alternate means of detecting enums in `is_udt`) - #155338 (Staticlib hide internal symbols) - #157402 (Implement feature `integer_casts`) - #157452 (Fix WASI links) - #157535 (Rename `errors.rs` file to `diagnostics.rs` (2/N)) - #157585 (Rename `errors.rs` file to `diagnostics.rs` (3/N)) - #157588 (Use `mul nuw nsw` in `intrinsics::copy`) - #157592 (Suggest comma multiple)
Rollup merge of #157535 - GuillaumeGomez:rename-err-to-diag-2, r=JonathanBrouwer Rename `errors.rs` file to `diagnostics.rs` (2/N) Follow-up of #157485. r? @JonathanBrouwer
Follow-up of #157485.
r? @JonathanBrouwer