1
Fork 0

Warn when using panic-strategy abort for proc-macro crates

This commit is contained in:
Lukas Wirth 2023-01-10 13:57:42 +01:00
parent 279f1c9d8c
commit 549ece7033
6 changed files with 23 additions and 1 deletions

View file

@ -87,3 +87,7 @@ pub struct FailedWritingFile<'a> {
pub path: &'a Path,
pub error: io::Error,
}
#[derive(Diagnostic)]
#[diag(interface_proc_macro_crate_panic_abort)]
pub struct ProcMacroCratePanicAbort;