Migrate all diagnostics
This commit is contained in:
parent
2459569776
commit
c65ebae221
58 changed files with 1279 additions and 1318 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue