(providers: &mut Providers)
| 497 | } |
| 498 | |
| 499 | pub(crate) fn provide(providers: &mut Providers) { |
| 500 | *providers = Providers { |
| 501 | check_mod_attrs: |tcx, def_id| { |
| 502 | // Run both the default checks, and our `#[spirv(...)]` ones. |
| 503 | (rustc_interface::DEFAULT_QUERY_PROVIDERS.check_mod_attrs)(tcx, def_id); |
| 504 | check_mod_attrs(tcx, def_id); |
| 505 | }, |
| 506 | ..*providers |
| 507 | }; |
| 508 | } |
nothing calls this directly
no test coverage detected