erg_compiler 0.5.11-nightly.1

Centimetre: the Erg compiler
use erg_common::Str;

use crate::error::CompileWarnings;
use crate::hir::HIR;

#[derive(Debug, Default)]
pub struct Linter {
    _used: Vec<Str>,
}

impl Linter {
    pub fn new() -> Self {
        Self { _used: Vec::new() }
    }

    pub fn lint(&mut self, _hir: &HIR) -> CompileWarnings {
        CompileWarnings::empty()
    }
}