rorm icon indicating copy to clipboard operation
rorm copied to clipboard

Better error span for `and!`

Open gammelalf opened this issue 2 years ago • 0 comments

The and! and or! macro produce a somewhat intimidating error message, when one of its arguments don't impl Condition.

For easier troubleshooting the message should just point to the violating argument instead of the macro itself.

gammelalf avatar Oct 04 '23 11:10 gammelalf