pub fn check_target(
modules: &[ModuleInput<'_>],
target: &str,
built: impl Fn(Role) -> bool,
) -> Vec<Diagnostic>Expand description
E0704 for every module of a build for target that is not available for it. built says
which modules the build contains; std modules are always available.