PR https://github.com/noir-lang/noir/pull/4294/ adds support for renaming all references to a function however it does not support other items such as structs: https://github.com/noir-lang/noir/pull/4294#discussion_r1658655114 We should add support for this.