1
Fork 0

Spellchecking compiler code

Address some spelling mistakes in strings, private function names, and function params.
This commit is contained in:
Yuri Astrakhan 2022-03-30 01:42:10 -04:00
parent 600ec28483
commit a9cc3f6564
8 changed files with 10 additions and 10 deletions

View file

@ -356,7 +356,7 @@ fn build_union_fields_for_direct_tag_generator<'ll, 'tcx>(
generator_type_di_node: &'ll DIType,
) -> SmallVec<&'ll DIType> {
let Variants::Multiple { tag_encoding: TagEncoding::Direct, tag_field, .. } = generator_type_and_layout.variants else {
bug!("This function only supports layouts with direcly encoded tags.")
bug!("This function only supports layouts with directly encoded tags.")
};
let (generator_def_id, generator_substs) = match generator_type_and_layout.ty.kind() {