Update Rust crate syn to v1.0.109 #30
Open
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.
This PR contains the following updates:
1.0.35->1.0.109Release Notes
dtolnay/syn (syn)
v1.0.109Compare Source
v1.0.108Compare Source
LitStr::value(#1381, thanks @ModProg)v1.0.107Compare Source
-Zrustdoc-scrape-exampleson docs.rs for nowv1.0.106Compare Source
v1.0.105Compare Source
dynandimpltype syntax (#1245)v1.0.104Compare Source
PathArguments::is_none()v1.0.103Compare Source
PartialOrdforCursor(#1236, #1237, thanks @CAD97)v1.0.102Compare Source
TokenBuffer(#1223, thanks @CAD97)v1.0.101Compare Source
v1.0.100Compare Source
for<> || -> T {…}(#1212, rust-lang/rust#97362)dyn*provisional syntax (#1213, rust-lang/rust#91611)Struct { #[attr] .. }(#1214)static asyncandstatic async moveclosures (#1215, rust-lang/rust#62290)v1.0.99Compare Source
v1.0.98Compare Source
v1.0.97Compare Source
v1.0.96Compare Source
punct_mut()method onsyn::punctuated::Pairto returnOption<&mut P>(#1183)v1.0.95Compare Source
v1.0.94Compare Source
v1.0.93Compare Source
Somemeans something unusual in the expression namespace of the scope wherecustom_keywordis invoked (#1171, thanks @zakarumych)v1.0.92Compare Source
v1.0.91Compare Source
v1.0.90Compare Source
Update recommended exhaustive matching idiom to use
non_exhaustive_omitted_patternslint:v1.0.89Compare Source
mut selfin a bare fn type (#1148)v1.0.88Compare Source
..pattern in pattern oflet(#1136)for<…>lifetime introducer on closures (#1135)Nothing(#1144)v1.0.87Compare Source
v1.0.86Compare Source
v1.0.85Compare Source
token()method to each variant of syn::Lit to expose the underlying token representation with original formattingv1.0.84Compare Source
parse_quote_spanned!macro which is a combinationparse_quote!+quote_spanned!v1.0.83Compare Source
impl <Thing<>>::Trait for Type {}(#1109)#[attr] let pat = val else { return }(#1110)v1.0.82Compare Source
::disambiguator:Fn::() -> !(#1096)v1.0.81Compare Source
v1.0.80Compare Source
~constsyntax in where-clauses (#1083, tracking issue rust-lang/rust#67792)v1.0.79Compare Source
+indyn Traitsyntax, including bare (non-dyn) pre-2018 trait object syntax (#1075, #1077, #1078, #1079, #1080, #1081)v1.0.78Compare Source
+in the bounds ofimpl Traittype (#1073)v1.0.77Compare Source
v1.0.76Compare Source
let–elsesyntax (#1050, #1057)<E>::V {..}(#1058, #1059)v1.0.75Compare Source
v1.0.74Compare Source
for<'a> dyn Trait<'a>syntax; the correct representation isdyn for<'a> Trait<'a>(#1042)v1.0.73Compare Source
v1.0.72Compare Source
v1.0.71Compare Source
v1.0.70Compare Source
|| .. .method()(#1019)v1.0.69Compare Source
v1.0.68Compare Source
LexErroron conversion tosyn::Error(#1006)v1.0.67Compare Source
v1.0.66Compare Source
fullmode (#978)v1.0.65Compare Source
v1.0.64Compare Source
clippy::expl_impl_clone_on_copypedantic lint in downstream custom token types (#976)v1.0.63Compare Source
v1.0.62Compare Source
v1.0.61Compare Source
PunctuatedAPI (#970, thanks @osa1)Lifetime::spanandLifetime::set_spanaccessors (#971)v1.0.60Compare Source
Provide an idiom for testing exhaustiveness of pattern matches on
Expr,Type,Pat,Item,ForeignItem,TraitItem, andImplItem(#694)The above is the only supported idiom for exhaustive matching of those enum. Do not write anything differently as it is not supported.
The conditional compilation on match-arms lets us fail your tests but not break your library when adding a variant. You will be notified by a test failure when a variant is added, so that you can add code to handle it, but your library will continue to compile and work for downstream users in the interim.
v1.0.59Compare Source
v1.0.58Compare Source
Allow literals to parse as a const generic path argument even without "full" feature enabled (#951)
v1.0.57Compare Source
const fn(#949)v1.0.56Compare Source
Error::into_compile_errorv1.0.55Compare Source
T<$ty>(#944, #945)v1.0.54Compare Source
implitems with macro metavariable in the trait path:impl $trait for Type {...}(#942)v1.0.53Compare Source
impl !Trait {...}syntax (#936)v1.0.52Compare Source
unsafe externblock syntax (#918)unsafe modsyntax (#919)const {...}block syntax (#921)v1.0.51Compare Source
v1.0.50Compare Source
doc(cfg(...))on feature gated APIs for docs.rs-rendered documentation (#925)v1.0.48Compare Source
v1.0.47Compare Source
v1.0.46Compare Source
#[derive(::serde::Serialize)](#909)v1.0.45Compare Source
v1.0.44Compare Source
v1.0.43Compare Source
v1.0.42Compare Source
v1.0.41Compare Source
.in a field access position, e.g.let _ = obj.-0.9E999999(#895, thanks @sameer)parse_macro_input!with a Parser function rather than type having a Parse impl (#896, thanks @sbrocket)v1.0.40Compare Source
9e99e999(#893)v1.0.39Compare Source
v1.0.38Compare Source
v1.0.37Compare Source
Handle shebang in a way that matches rustc 1.46+ (#876, rust-lang/rust#71487, rust-lang/rust#73596)
Accept
tuple.0. 0as a tuple indexing expression (#877)v1.0.36Compare Source
Configuration
📅 Schedule: Branch creation - "after 9am on Saturday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.