Skip to content

More reductions in error handling diversity#67770

Merged
bors merged 2 commits intorust-lang:masterfrom
Centril:reduce-diversity-2
Jan 8, 2020
Merged

More reductions in error handling diversity#67770
bors merged 2 commits intorust-lang:masterfrom
Centril:reduce-diversity-2

Conversation

@Centril
Copy link
Copy Markdown
Contributor

@Centril Centril commented Jan 1, 2020

In this follow up to #67744, we:

  • Remove all fatal / error / warning macros in syntax except for struct_span_err, which is moved to rustc_errors.

  • Lintify some hard-coded warnings which used warning macros.

  • Defatalize some errors.

In general, the goal here is to make it painful to use fatal or unstructured errors and so we hopefully won't see many of these creep in.

Fixes #67933.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#[deny(warnings) isn't working on E0170

6 participants