Skip to content

Enable GenericArgument::Constraint parsing in non-full mode#1966

Merged
dtolnay merged 1 commit intomasterfrom
constraint
Feb 12, 2026
Merged

Enable GenericArgument::Constraint parsing in non-full mode#1966
dtolnay merged 1 commit intomasterfrom
constraint

Conversation

@dtolnay
Copy link
Owner

@dtolnay dtolnay commented Feb 12, 2026

The where T: Trait<Assoc: Bound> syntax was "full"-only while it was still unstable, but it has been stabilized since Rust 1.79. https://blog.rust-lang.org/2024/06/13/Rust-1.79.0/#bounds-in-associated-type-position

Closes serde-rs/serde#3033.

@dtolnay dtolnay merged commit f22e806 into master Feb 12, 2026
30 checks passed
@dtolnay dtolnay deleted the constraint branch February 12, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bound attribute fails with non-helpful error when using associated type bound

1 participant