pub fn source_in_package(
hir: &Hir<'_>,
source_id: SourceId,
roots: &[&str],
) -> boolExpand description
True if the source file of source_id lives under one of the given package-root directory
names (matched as whole, case-insensitive path components).