Skip to content

Add Ord bound for Q in Default impl of SearchScratch - #297

Merged
sbillig merged 1 commit into
fe-lang:mainfrom
KiChjang:fix-compilation-error
Jun 18, 2026
Merged

Add Ord bound for Q in Default impl of SearchScratch#297
sbillig merged 1 commit into
fe-lang:mainfrom
KiChjang:fix-compilation-error

Conversation

@KiChjang

Copy link
Copy Markdown
Contributor

Current tip of main is broken; this PR fixes it by adding an Ord bound to the type parameter of Q in the Default impl for SearchScratch.

@sbillig

sbillig commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Thank you! This bound isn't necessary with rustc 1.96, but is on 1.90 and earlier (at least), so this is a worthwhile compatibility fix.

@sbillig
sbillig merged commit 039a9f5 into fe-lang:main Jun 18, 2026
10 checks passed
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.

2 participants