# @generated
# To regenerate, run:
# ```
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib
# ```
Program:
def toto():
pass
Error:
error: `def` is not allowed in this dialect
--> top_level_def:1:1
|
1 | / def toto():
2 | | pass
| |______^
|