1 2 3 4 5
use crate::diagnostic::Diagnostic; pub trait Warnings { fn report_warning(&mut self, warning: Diagnostic); }