[meta] Generate legalizations in the Rust crate;

This commit is contained in:
Benjamin Bouvier
2019-04-18 17:53:10 +02:00
parent 1f21349c4b
commit e3e66acfb1
5 changed files with 594 additions and 4 deletions

View File

@@ -665,7 +665,7 @@ fn typeset_to_string(ts: &TypeSet) -> String {
}
/// Generate the table of ValueTypeSets described by type_sets.
fn gen_typesets_table(type_sets: &UniqueTable<TypeSet>, fmt: &mut Formatter) {
pub fn gen_typesets_table(type_sets: &UniqueTable<TypeSet>, fmt: &mut Formatter) {
if type_sets.len() == 0 {
return;
}