-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
rustc_parse: diagnostics migration, v4 #105670
Merged
Merged
Commits on Feb 1, 2023
-
Forbid #[suggestion_*(...)] on Vecs
It is ambiguous whether this should produce several `.span_suggestions()` calls or one `.multipart_suggestions()` call.
Configuration menu - View commit details
-
Copy full SHA for f2acbb9 - Browse repository at this point
Copy the full SHA f2acbb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e36e7c - Browse repository at this point
Copy the full SHA 0e36e7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc0ba2c - Browse repository at this point
Copy the full SHA fc0ba2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a84adba - Browse repository at this point
Copy the full SHA a84adbaView commit details -
Fix condition for "missing
struct
" diagnostic on tuple structsThe check previously matched this, and suggested adding a missing `struct`: pub Foo(...): It was probably intended to match this instead (semicolon instead of colon): pub Foo(...);
Configuration menu - View commit details
-
Copy full SHA for 0757d5f - Browse repository at this point
Copy the full SHA 0757d5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9c66b - Browse repository at this point
Copy the full SHA ac9c66bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ef37d - Browse repository at this point
Copy the full SHA 87ef37dView commit details -
Convert rustc_parse::parser::pat::Expected to enum
This is required in order to support translatable diagnostics.
Configuration menu - View commit details
-
Copy full SHA for 9564a30 - Browse repository at this point
Copy the full SHA 9564a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7631b12 - Browse repository at this point
Copy the full SHA 7631b12View commit details -
rustc_parse: revert conversion of "non-item in item list" diagnostic
#[derive(Subdiagnostic)] does not allow multiple subdiagnostics on one variant, as in NonItemInItemListSub::Other.
Configuration menu - View commit details
-
Copy full SHA for a476683 - Browse repository at this point
Copy the full SHA a476683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d0d369 - Browse repository at this point
Copy the full SHA 0d0d369View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.