Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[derive] Add support for fmt-debug=none (#1798)
The unstable feature fmt-debug [1] allows to influence `derive(Debug)` implementations, for example by making it return an empty string. As the standard library also does not make any guarantees on the outputs of `derive(Debug)` , this change does replace the reliance on it by an explicit conversion to the variant name.
- Loading branch information