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

@ -3450,7 +3450,7 @@ pub enum Reason {
},
Stmt,
CallInFunction(Option<Region>),
CallInTopLevelDef,
CallInTopLevel,
FloatLiteral,
IntLiteral,
NumLiteral,