E0107
A statement at module level, where only items are allowed.
Machine-applicable fix: none.
Example
This program fails with E0107.
let x = 1
fn main() {}
Fixed
The same program, fixed.
fn main() {
let x = 1
}
Listed in the checker notes. oskac explain E0107 prints this entry offline.