- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 315
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: dtolnay/syn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.73
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.74
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 7 files changed
- 1 contributor
Commits on Aug 11, 2024
-
Revert "Embed Generics iterator implementations into method bodies"
This reverts commit a482734.
Configuration menu - View commit details
-
Copy full SHA for 65ec30d - Browse repository at this point
Copy the full SHA 65ec30dView commit details -
Revert "Define Fields::members iterator type privately inside method"
This reverts commit e8a9292.
Configuration menu - View commit details
-
Copy full SHA for 857942e - Browse repository at this point
Copy the full SHA 857942eView commit details -
Add regression test for issue 1718
error[E0502]: cannot borrow `generics.params` as mutable because it is also borrowed as immutable --> tests/test_iterators.rs:81:25 | 77 | let _ = generics | -------- | | | _____________immutable borrow occurs here | | 78 | | .lifetimes() | |____________________- a temporary with access to the immutable borrow is created here ... ... 81 | .unwrap_or_else(|| { | ^^ mutable borrow occurs here 82 | let lifetime: Lifetime = parse_quote!('a); 83 | generics.params.insert( | --------------- second borrow occurs due to use of `generics.params` in closure ... 88 | }); | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = &LifetimeParam>`
Configuration menu - View commit details
-
Copy full SHA for 7dc05a5 - Browse repository at this point
Copy the full SHA 7dc05a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2955ac5 - Browse repository at this point
Copy the full SHA 2955ac5View commit details -
Merge pull request #1719 from dtolnay/iterators
Expose non-impl-Trait iterator return types
Configuration menu - View commit details
-
Copy full SHA for 6cf2344 - Browse repository at this point
Copy the full SHA 6cf2344View commit details -
Configuration menu - View commit details
-
Copy full SHA for b15ae28 - Browse repository at this point
Copy the full SHA b15ae28View commit details
There are no files selected for viewing