pub fn check_crate( sess: &Session, features: &Features, krate: &Crate, lints: &mut LintBuffer, ) -> bool