Open dflemstr opened 5 years ago
The derive assumes a backtrace
field to hold a failure::Backtrace
.
The only sees tokens, so it can't check that the type of the field is something other than that.
I reckon there could be something like a #[fail(ignore)]
attribute to enable this.
Test case to reproduce:
I suppose this is a common case of unhygienic procedural macros :)