-
-
Notifications
You must be signed in to change notification settings - Fork 355
Comparing changes
Open a pull request
base repository: dtolnay/syn
base: 2.0.38
head repository: dtolnay/syn
compare: 2.0.39
- 17 commits
- 12 files changed
- 1 contributor
Commits on Oct 7, 2023
-
Ignore into_iter_without_iter pedantic clippy lint
warning: `IntoIterator` implemented for a reference type without an `iter` method --> src/error.rs:435:1 | 435 | / impl<'a> IntoIterator for &'a Error { 436 | | type Item = Error; 437 | | type IntoIter = Iter<'a>; 438 | | ... | 443 | | } 444 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_without_iter = note: `-W clippy::into-iter-without-iter` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::into_iter_without_iter)]` help: consider implementing `iter` | 435 + 436 + impl Error { 437 + fn iter(&self) -> Iter<'a> { 438 + <&Self as IntoIterator>::into_iter(self) 439 + } 440 + } |Configuration menu - View commit details
-
Copy full SHA for e203794 - Browse repository at this point
Copy the full SHA e203794View commit details
Commits on Oct 25, 2023
-
warning: unused import: `crate::gen::*` --> src/lib.rs:815:9 | 815 | pub use crate::gen::*; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by defaultConfiguration menu - View commit details
-
Copy full SHA for 7719f54 - Browse repository at this point
Copy the full SHA 7719f54View commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f7b79f5 - Browse repository at this point
Copy the full SHA f7b79f5View commit details
Commits on Nov 3, 2023
-
Expose internal CustomToken trait only through __private module
This trait is marked not public API and can only be implemented through the public macros (custom_keyword and custom_punctuation).
Configuration menu - View commit details
-
Copy full SHA for eb1737d - Browse repository at this point
Copy the full SHA eb1737dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93bfc8e - Browse repository at this point
Copy the full SHA 93bfc8eView commit details
Commits on Nov 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for aadbe5a - Browse repository at this point
Copy the full SHA aadbe5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3cc8f - Browse repository at this point
Copy the full SHA ee3cc8fView commit details -
Merge pull request #1529 from dtolnay/up
Update test suite to nightly-2023-11-03
Configuration menu - View commit details
-
Copy full SHA for 3e67cb0 - Browse repository at this point
Copy the full SHA 3e67cb0View commit details -
Indicate that peek argument refers to syn::Ident
As opposed to proc_macro2::Ident.
Configuration menu - View commit details
-
Copy full SHA for c274590 - Browse repository at this point
Copy the full SHA c274590View commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c6a651a - Browse repository at this point
Copy the full SHA c6a651aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20497e1 - Browse repository at this point
Copy the full SHA 20497e1View commit details -
Merge pull request #1530 from dtolnay/canbeginexpr
More precise decision to parse expression after `return`, `break`, `yield`
Configuration menu - View commit details
-
Copy full SHA for 6f658f8 - Browse repository at this point
Copy the full SHA 6f658f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ab979 - Browse repository at this point
Copy the full SHA 32ab979View commit details -
Configuration menu - View commit details
-
Copy full SHA for a876185 - Browse repository at this point
Copy the full SHA a876185View commit details -
Ignore single_element_loop clippy lint in test
warning: for loop over a single element --> tests/test_expr.rs:333:5 | 333 | / for stmt in [ 334 | | // Parentheses required. See rust-lang/rust#87026. 335 | | quote! { 336 | | break 'label: loop { break 'label 42; }; ... | 339 | | syn::parse2::<Stmt>(stmt).unwrap_err(); 340 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_element_loop = note: `-W clippy::single-element-loop` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::single_element_loop)]` help: try | 333 ~ { 334 + let stmt = { 335 + let mut _s = $crate::__private::TokenStream::new(); 336 + $crate::quote_each_token!{_s $($tt)*} 337 + _s 338 + }; 339 + syn::parse2::<Stmt>(stmt).unwrap_err(); 340 + } |Configuration menu - View commit details
-
Copy full SHA for b88f86f - Browse repository at this point
Copy the full SHA b88f86fView commit details -
Merge pull request #1531 from dtolnay/breaklabel
Improve parsing of labeled loop as value expression for break
Configuration menu - View commit details
-
Copy full SHA for 95aeeb5 - Browse repository at this point
Copy the full SHA 95aeeb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924217c - Browse repository at this point
Copy the full SHA 924217cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.0.38...2.0.39