Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matching lints for const-generics breakage in traits. #1055

Merged
merged 5 commits into from
Dec 21, 2024

Conversation

obi1kenobi
Copy link
Owner

Add the trait_allows_fewer_const_generic_params and trait_requires_more_const_generic_params lints, which check for traits that now require more, or support fewer, const generics than they used to. These are parallel lints to the type-related ones merged shortly prior, just over traits instead of structs/enums/unions.

Add the `trait_allows_fewer_const_generic_params` and `trait_requires_more_const_generic_params` lints, which check for traits that now require more, or support fewer, const generics than they used to. These are parallel lints to the type-related ones merged shortly prior, just over traits instead of structs/enums/unions.
@obi1kenobi obi1kenobi enabled auto-merge (squash) December 20, 2024 21:58
@obi1kenobi obi1kenobi disabled auto-merge December 21, 2024 15:07
obi1kenobi and others added 4 commits December 21, 2024 10:07
Add the `trait_allows_fewer_const_generic_params` and `trait_requires_more_const_generic_params` lints, which check for traits that now require more, or support fewer, const generics than they used to. These are parallel lints to the type-related ones merged shortly prior, just over traits instead of structs/enums/unions.
…go-semver-checks into trait_const_generic_lints
@obi1kenobi obi1kenobi merged commit 06b860c into main Dec 21, 2024
32 checks passed
@obi1kenobi obi1kenobi deleted the trait_const_generic_lints branch December 21, 2024 23:20
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.

1 participant