Module remove_unused_self_clause

Source
Expand description

We have added an explicit Self: Trait clause to the function and global items that correspond to a trait method/associated const declaration. This pass removes the clause in question if it is not used by the item.

Structsยง

FoundClause ๐Ÿ”’
Transform
UsesClauseVisitor ๐Ÿ”’