vector cleanup and turning ast::spanned into a struct#4380
Closed
erickt wants to merge 10 commits intorust-lang:incomingfrom
Closed
vector cleanup and turning ast::spanned into a struct#4380erickt wants to merge 10 commits intorust-lang:incomingfrom
erickt wants to merge 10 commits intorust-lang:incomingfrom
Conversation
Contributor
|
r+, what's the performance impact of the inlining? |
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
Jul 14, 2020
…1995 Improvements for `type_repetition_in_bounds` lint Some improvements for `type_repetition_in_bounds`: - add a configurable threshold to trigger the lint (rust-lang#4380). The lint won't trigger anymore if there are more bounds (strictly) than `conf.max_trait_bounds` on this type. - take generic args into account over bounded type (rust-lang#4323) - don't lint for predicates generated in macros (rust-lang#4326) Fixes rust-lang#4380, Fixes rust-lang#4323, Fixes rust-lang#4326, Closes rust-lang#3764 changelog: Fix multiple FPs in `type_repetition_in_bounds` and add a configuration option Note: the rust-lang#3764 has already been fixed but not closed
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this pull request
Jun 9, 2025
Automatic Rustup
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this pull request
Jun 10, 2025
Automatic Rustup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Just some code I have queued up in my repository I'd like to upstream. I'm converting all the
#[auto_encode]ed code to use structs, so this is the first step. Plus it includes some vector cleanup and a function to partition vectors.