1 2 3 4 5 6 7
error: unit fields cannot contain a field reference --> tests/ui/source_unit.rs:2:17 | 2 | #[derive(Debug, Error)] | ^^^^^ | = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)