pub fn raise<T>(&mut self, diagnostic: T)
    where
        Box<T>: Into<Box<D>>,
    {
        self.elements.push(Box::new(diagnostic).into());
    }
/// Raises a new diagnostic and saves it in this collection.
Raises a new diagnostic and saves it in this collection.
Raises a new diagnostic and saves it in this collection .
pub fn raise<T>(&mut self, diagnostic: T)
    where
        Box<T>: Into<Box<D>>,
    {
        self.elements.push(Box::new(diagnostic).into());
    }
pub fn raise < T > ( & mut self , diagnostic : T ) where Box < T > : Into < Box < D > > , { self . elements . push ( Box :: new ( diagnostic ) . into ( ) ) ; }
Raises a new diagnostic and saves it in this collection.
Raises a new diagnostic and saves it in this collection .
&mut self
diagnostic
T
&mut self
diagnostic
T