resolve: derive diag for undetermined macro resolution
This commit is contained in:
parent
abfc6c4438
commit
7bad066f82
3 changed files with 21 additions and 8 deletions
|
@ -654,6 +654,16 @@ pub(crate) struct CannotDetermineImportResolution {
|
|||
pub(crate) span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(resolve_cannot_determine_macro_resolution)]
|
||||
#[note]
|
||||
pub(crate) struct CannotDetermineMacroResolution {
|
||||
#[primary_span]
|
||||
pub(crate) span: Span,
|
||||
pub(crate) kind: &'static str,
|
||||
pub(crate) path: String,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(resolve_cannot_be_reexported_private, code = "E0364")]
|
||||
pub(crate) struct CannotBeReexportedPrivate {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue