Skip to content

Mutate NonZero<T> #595

@sourcefrog

Description

@sourcefrog

Currently we only match NonZeroUsize etc.

If T is known, we should generate values for that type, similarly to in function return values. If not, we can assume it's an integer and try 1 and -1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggeneratePatterns of mutation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions