Deny use
ing tool paths
This commit is contained in:
parent
1767585509
commit
ebde2ab363
5 changed files with 37 additions and 11 deletions
|
@ -469,6 +469,15 @@ pub(crate) struct ExpectedFound {
|
|||
#[diag(resolve_indeterminate, code = "E0578")]
|
||||
pub(crate) struct Indeterminate(#[primary_span] pub(crate) Span);
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(resolve_tool_module_imported)]
|
||||
pub(crate) struct ToolModuleImported {
|
||||
#[primary_span]
|
||||
pub(crate) span: Span,
|
||||
#[note]
|
||||
pub(crate) import: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(resolve_module_only)]
|
||||
pub(crate) struct ModuleOnly(#[primary_span] pub(crate) Span);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue