For struct like ```rust struct Unnamed(String); ``` The derive macro `EncodeLabelSet` emits ``` error: proc-macro derive panicked --> tests/build/friendly-compilation-error-msg.rs:7:49 | 7 | #[derive(Debug, Clone, PartialEq, Eq, Hash, EncodeLabelSet)] | ^^^^^^^^^^^^^^ | = help: message: Can not derive Encode for struct with unnamed fields. ``` I think `proc-macro derive panicked` is a little bit confuse, and the end developer needs to continue reading down the error message to find the cause. An usual practice is emit [`compile_error!`](https://doc.rust-lang.org/std/macro.compile_error.html), which show the causes more directly.
Activity
[-]compilation error msgs could be better[/-][+]Compilation error messages could be better[/+]