WIP try simplification

This commit is contained in:
Luke Boswell 2024-04-08 22:18:45 +10:00
parent 85b76a14b4
commit 8b9e08bd76
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
13 changed files with 734 additions and 551 deletions

View file

@ -2494,6 +2494,7 @@ pub fn can_defs_with_return<'a>(
if !output.references.has_type_or_value_lookup(symbol)
&& !scope.abilities_store.is_specialization_name(symbol)
{
dbg!(&symbol, &region);
env.problem(Problem::UnusedDef(symbol, region));
}
}