1 //! Errors emitted by plugin_impl
3 use rustc_macros::SessionDiagnostic;
6 #[derive(SessionDiagnostic)]
7 #[diag(plugin_impl::load_plugin_error)]
8 pub struct LoadPluginError {
14 #[derive(SessionDiagnostic)]
15 #[diag(plugin_impl::malformed_plugin_attribute, code = "E0498")]
16 pub struct MalformedPluginAttribute {