Report effectful top-level exprs

This commit is contained in:
Agus Zubiaga 2024-10-16 19:29:08 -03:00
parent b62665e49e
commit f666dba67d
No known key found for this signature in database
5 changed files with 61 additions and 4 deletions

View file

@ -186,7 +186,7 @@ fn remove_for_reason(
| Reason::CrashArg
| Reason::ImportParams(_)
| Reason::CallInFunction(_)
| Reason::CallInTopLevelDef
| Reason::CallInTopLevel
| Reason::Stmt
| Reason::FunctionOutput => {}
}