We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf42af1 commit c41bb8eCopy full SHA for c41bb8e
crates/compilers/src/resolver/mod.rs
@@ -727,6 +727,13 @@ impl<L: Language, D: ParsedSource<Language = L>> Graph<D> {
727
all_profiles.retain(|(_, (_, settings))| settings.satisfies_restrictions(&**req));
728
}
729
730
+ if all_profiles.is_empty() {
731
+ let f = utils::source_name(&failed_node.path, &self.root).display();
732
+ return Err(
733
+ format!("Missing profile satisfying settings restrictions for {f}").to_string(),
734
+ );
735
+ }
736
+
737
// iterate over all the nodes once again and find the one incompatible
738
for node in &nodes {
739
if let Some(req) = project.restrictions.get(&self.node(*node).path) {
0 commit comments