#![no_std]
#![feature(const_convert)]
#![feature(default_field_values)]
#![feature(const_trait_impl)]
extern crate alloc;
mod conversions;
mod severity;
#[cfg(test)]
mod tests;
use alloc::string::String;
pub use severity::Severity;
use core::hash::{
Hash,
Hasher
};
#[derive(Debug)]
pub struct Issue {
pub name: &'static str,
pub description: Option<String> = None,
pub severity: Severity = Severity::Error
}
impl Hash for Issue {
fn hash<H: Hasher>(&self, state: &mut H) {Hash::hash(self.name, state)}
}