fn-error-context 0.2.1

An attribute macro to add context to errors from a function.
Documentation
1
2
3
4
5
6
7
error: requires at least a format string argument
 --> tests/missing_fmt.rs:3:1
  |
3 | #[context]
  | ^^^^^^^^^^
  |
  = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the attribute macro `context` (in Nightly builds, run with -Z macro-backtrace for more info)