Skip to main content

Module add_missing_info

Module add_missing_info 

Source
Expand description

Passes that compute extra info to be stored in the crate.

Modules§

add_missing_alias_clauses
Rust doesn’t require bounds on type aliases to be well-formed. When a type alias mentions <T as Trait>::Assoc without a corresponding T: Trait clause, translation leaves an unknown trait ref. This pass tries to add these missing clauses.
compute_short_names
recover_body_comments
Take all the comments found in the original body and assign them to statements.
reorder_decls
Compute an ordering on declarations that:
sccs