consistency rename: language item -> lang item

This commit is contained in:
Ralf Jung
2024-04-17 12:30:45 +02:00
parent d101971ab1
commit 8b35be741f
32 changed files with 72 additions and 72 deletions

View File

@@ -14,7 +14,7 @@ use crate::errors::{
};
/// Checks the crate for usage of weak lang items, returning a vector of all the
/// language items required by this crate, but not defined yet.
/// lang items required by this crate, but not defined yet.
pub fn check_crate(tcx: TyCtxt<'_>, items: &mut lang_items::LanguageItems, krate: &ast::Crate) {
// These are never called by user code, they're generated by the compiler.
// They will never implicitly be added to the `missing` array unless we do