let var = ...;
let error = anyhow!("interpolate {var}"); // equivalent to anyhow!("interpolate {var}", var=var)
Detect missing fmt arguments at compile time: anyhow!("{} not found") (#55)
Reduce occurrence of "future cannot be shared between threads safely" in async code using anyhow macros (#186)
1.0.45
Fix non-compilable macro expansion if downstream crate calls anyhow!, ensure!, or bail! with format args and is built with #![no_std] or #![no_implicit_prelude] (#177)
1.0.44
Mark error constructors cold to help LLVM optimize code paths not leading to error (#166, thanks @stepancheg)
1.0.43
Take -Zallow-features restrictions from Cargo configuration file into account on sufficiently new versions of nightly Cargo (#157, thanks @jonhoo)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps anyhow from 1.0.40 to 1.0.48.
Release notes
Sourced from anyhow's releases.
... (truncated)
Commits
f4269d5
Release 1.0.4813f8f01
Merge pull request #198 from dtolnay/ensurec5068a8
Suppress clippy lints exposed by spans fix0b5c758
Use a real unsafe expr for the unsafe test34df4cc
Preserve spans of all punctuation and keyword tokens in ensurebf31e76
Merge pull request #197 from dtolnay/ensurea574356
Restore no_std support where String isn't in prelude6f3b70e
Format with rustfmt 1.4.387d8ba95
Preallocate space for rendered ensure messageb75dcd2
Merge pull request #196 from dtolnay/ensureDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)