Then use them through a query based on resolver outputs
For more information about how rustc works, see the rustc dev guide.