Warn when using panic-strategy abort for proc-macro crates
This commit is contained in:
parent
279f1c9d8c
commit
549ece7033
6 changed files with 23 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue