pub trait PluginResultTrait {
// Required method
fn diagnostic_only(diagnostic: PluginDiagnostic) -> Self;
}
Expand description
Trait providing a consistent interface for the result of a macro plugins.
Required Methods§
fn diagnostic_only(diagnostic: PluginDiagnostic) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.