pub(crate) fn lint_package(
_ws: &Workspace<'_>,
pkg: &Package,
manifest_path: &Path,
level: LintLevelProduct,
stats: &mut DiagnosticStats,
gctx: &GlobalContext,
) -> CargoResult<()>Expand description
Lint for [build-dependencies] without a build.rs
These are always unused.
This must be determined independent of the compiler since there are no build targets to pass to rustc to report on these.