Skip to content

deps(deps): bump the rust-major-updates group across 1 directory with 2 updates - #72

Merged
MathieuSoysal merged 1 commit into
masterfrom
dependabot/cargo/rust-major-updates-3149c2f4fe
Aug 29, 2026
Merged

deps(deps): bump the rust-major-updates group across 1 directory with 2 updates#72
MathieuSoysal merged 1 commit into
masterfrom
dependabot/cargo/rust-major-updates-3149c2f4fe

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps the rust-major-updates group with 2 updates in the / directory: syn and prettyplease.

Updates syn from 2.0.118 to 3.0.2

Release notes

Sourced from syn's releases.

3.0.2

3.0.1

3.0.0

This release contains adjustments to the syntax tree to account for ongoing Rust language development from the 3 years since syn 2.0.0 and to anticipate some in-flight Rust language RFCs.

These include: default values in fields, pinned type sugar, raw lifetimes, generator blocks and functions, unnamed enum variants, attributes in tuple types and tuple patterns, named arguments in parenthesized generic argument lists, lightweight clones, const traits, const function pointers, mutability restricted fields, supertrait auto implementation, final associated functions, trait implementability restrictions, const blocks in path arguments, item-level const blocks, return type notation, never patterns, function delegation, mutable by-reference bindings, in-place initialization, field projections, explicitly dyn-compatible traits, view types, file-level frontmatter, generic const arguments, guard patterns, lazy type aliases, explicitly safe foreign items, super let, unsafe fields, pattern types, heterogeneous try-blocks, function contracts, async function trait bounds, static closure coroutine syntax, unsafe binder types, move expressions, for-await loops, and postfix keywords.

Breaking changes

Modifiers

To reserve more room for language evolution, there are 10 new non-exhaustive structs in the syntax tree having the following commonality:

  • Name ending in Modifiers. {BlockModifiers, ClosureModifiers, ConstModifiers, FieldModifiers, FnModifiers, ImplModifiers, LocalModifiers, TraitBoundModifiers, TraitModifiers, TypeModifiers}

  • Each implements Default. The default value is guaranteed to comprise no tokens.

  • Non-exhaustive. Can only be instantiated by Syn's parser or by creating and then mutating ▁▁Modifiers::default().

  • Does not implement Parse. When parsing, they are parsed by the enclosing syntax tree node.

  • Does not implement ToTokens. In some cases the syntax that these nodes might hold in the future is not necessarily contiguous tokens.

  • Provides .require_empty() -> Result<()> which returns a meaningfully spanned error if the modifiers are different from the empty default. This enables a caller to reject syntax it does not recognize without knowing what that syntax may be.

Types

  • Type::BareFn has been renamed to Type::FnPtr to mirror the compiler's terminology. Together with this, BareVariadic is renamed to FnPtrVariadic.

  • The mutually exclusive const_token and mutability fields of Type::Ptr have been unified into an enum of type PointerMutability, which was already previously used by Expr::RawAddr.

  • Every Type variant now holds attributes, which can represent the attributes of element types inside a tuple type, or attributes for a function return type.

  • BareFnArg is renamed to NamedArg and is used in ParenthesizedGenericArguments, in addition to the existing use in Type::FnPtr.

Expressions

  • In Expr::Closure, the fields or1_token and or2_token have been renamed to inputs_begin and inputs_end to indicate the beginning and ending | token of the closure inputs.

... (truncated)

Commits
  • 88ee7be Release 3.0.2
  • 587bc20 Merge pull request #2070 from dtolnay/emptyrange
  • 96801f7 Allow Error::new_range at empty cursor range
  • 9dc16c9 Merge pull request #2069 from dtolnay/prevspan
  • 1db76b7 Align on using impl trait across all Error constructors
  • bfa1ebf Make Cursor::prev_span public
  • c6ac5e5 Merge pull request #2068 from dtolnay/newrange
  • 1436454 Add Error::new_range constructor taking Range<Cursor>
  • 123c148 Release 3.0.1
  • bc11ddd Merge pull request #2067 from dtolnay/fastpeek
  • Additional commits viewable in compare view

Updates prettyplease from 0.2.37 to 0.3.0

Release notes

Sourced from prettyplease's releases.

0.3.0

Commits
  • 49e5089 Release 0.3.0
  • fcbf4d3 Merge pull request #128 from dtolnay/syn3
  • 3bcd9d9 Update to syn 3
  • 1a89d07 Format with rustfmt
  • daa39f5 Update actions/upload-artifact@v6 -> v7
  • 44d4c3d Update actions/checkout@v6 -> v7
  • 87d1c22 Update examples to nightly-2026-02-09
  • 50a7042 Raise required compiler to Rust 1.71
  • ae76ee8 Resolve unnecessary_map_or clippy lint
  • 938b756 Raise required compiler to Rust 1.70
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the cargo label Aug 10, 2026
@dependabot
dependabot Bot requested a review from MathieuSoysal as a code owner August 10, 2026 09:08
@dependabot dependabot Bot changed the title deps(deps): bump the rust-major-updates group with 2 updates deps(deps): bump the rust-major-updates group across 1 directory with 2 updates Aug 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust-major-updates-3149c2f4fe branch from 1347943 to 7cf7822 Compare August 29, 2026 15:42
… 2 updates

Bumps the rust-major-updates group with 2 updates in the / directory: [syn](https://github.com/dtolnay/syn) and [prettyplease](https://github.com/dtolnay/prettyplease).


Updates `syn` from 2.0.118 to 3.0.2
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.118...3.0.2)

Updates `prettyplease` from 0.2.37 to 0.3.0
- [Release notes](https://github.com/dtolnay/prettyplease/releases)
- [Commits](dtolnay/prettyplease@0.2.37...0.3.0)

---
updated-dependencies:
- dependency-name: prettyplease
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-major-updates
- dependency-name: syn
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: rust-major-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust-major-updates-3149c2f4fe branch from 7cf7822 to 9c801f2 Compare August 29, 2026 17:28
@sonarqubecloud

Copy link
Copy Markdown

@MathieuSoysal
MathieuSoysal merged commit 8708d29 into master Aug 29, 2026
10 checks passed
@MathieuSoysal
MathieuSoysal deleted the dependabot/cargo/rust-major-updates-3149c2f4fe branch August 29, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant