Make type_implements_trait not a query r? `@nikomatsakis`
For more information about how rustc works, see the rustc dev guide.