1
Fork 0

Suggest using integration tests for proc-macros

This commit is contained in:
clubby789 2023-04-12 21:45:21 +01:00
parent 0d7ed3ba84
commit f7581d8d21
5 changed files with 43 additions and 5 deletions

View file

@ -508,3 +508,12 @@ pub(crate) struct RemoveSurroundingDerive {
pub(crate) struct AddAsNonDerive<'a> {
pub(crate) macro_path: &'a str,
}
#[derive(Diagnostic)]
#[diag(resolve_proc_macro_same_crate)]
pub(crate) struct ProcMacroSameCrate {
#[primary_span]
pub(crate) span: Span,
#[help]
pub(crate) is_test: bool,
}