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

Mock methods with where Self: ... clauses as concrete. #415

Merged
merged 1 commit into from Oct 1, 2022
Merged

Conversation

asomers
Copy link
Owner

@asomers asomers commented Oct 1, 2022

Previously they were treated as generic. Among other effects, this prevents "unused method expect" warnings from the latest nightly compiler.

Fixes #414

Previously they were treated as generic.  Among other effects, this
prevents "unused method expect" warnings from the latest nightly
compiler.

Fixes #414
@asomers asomers merged commit cc00356 into master Oct 1, 2022
@asomers asomers deleted the where_self branch October 1, 2022 16:53
@rwmjones
Copy link

rwmjones commented Oct 1, 2022

This does appear to fix nbdkit, thanks!

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.

"where Self: Sized" shouldn't make a method generic
2 participants