-
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
Shrink AST items #100363
Closed
Closed
Shrink AST items #100363
Commits on Aug 10, 2022
-
Avoid repeating qualifiers on
static_assert_size
calls.Some of these don't need a `use` statement because there is already a `#[macro_use] extern crate rustc_data_structures` item in the crate.
Configuration menu - View commit details
-
Copy full SHA for 574ba83 - Browse repository at this point
Copy the full SHA 574ba83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0658e8c - Browse repository at this point
Copy the full SHA 0658e8cView commit details -
Simplify
rustc_hir::intravisit::Visitor::visit_variant_data
.It has four arguments that are never used. This avoids lots of argument passing in functions that feed into `visit_variant_data`.
Configuration menu - View commit details
-
Copy full SHA for 8ec3d0d - Browse repository at this point
Copy the full SHA 8ec3d0dView commit details -
Simplify
rustc_ast::visit::Visitor::visit_enum_def
.It's passed three arguments that are never used.
Configuration menu - View commit details
-
Copy full SHA for 694dbc8 - Browse repository at this point
Copy the full SHA 694dbc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07a2eb1 - Browse repository at this point
Copy the full SHA 07a2eb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c7b4e7 - Browse repository at this point
Copy the full SHA 5c7b4e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d665e9c - Browse repository at this point
Copy the full SHA d665e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6230e - Browse repository at this point
Copy the full SHA cb6230eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e71c375 - Browse repository at this point
Copy the full SHA e71c375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19db44f - Browse repository at this point
Copy the full SHA 19db44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e71f89d - Browse repository at this point
Copy the full SHA e71f89dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 300d74d - Browse repository at this point
Copy the full SHA 300d74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a3752 - Browse repository at this point
Copy the full SHA c0a3752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e9ea62 - Browse repository at this point
Copy the full SHA 0e9ea62View 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.