Migrate all diagnostics
This commit is contained in:
@@ -4,7 +4,7 @@ use rustc_macros::Diagnostic;
|
||||
use rustc_span::Span;
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(plugin_impl::load_plugin_error)]
|
||||
#[diag(plugin_impl_load_plugin_error)]
|
||||
pub struct LoadPluginError {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
@@ -12,7 +12,7 @@ pub struct LoadPluginError {
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(plugin_impl::malformed_plugin_attribute, code = "E0498")]
|
||||
#[diag(plugin_impl_malformed_plugin_attribute, code = "E0498")]
|
||||
pub struct MalformedPluginAttribute {
|
||||
#[primary_span]
|
||||
#[label]
|
||||
|
||||
Reference in New Issue
Block a user