Complete migrating `ast_passes` to derive diagnostics cc #100717 ```@rustbot``` label +A-translation
<li>