core
core copied to clipboard
feat: debug_ensure{,_eq,_ne} macros combining debug_assert* and anyhow::ensure (#6907)
See commit messages. Still sometimes we don't want to error out in the release conf if the error isn't critical (in which case it's better to log a warning as @Hocuri suggested in #6907). Need to recheck all assertions and create a follow-up PR.