E1035#
The word is reserved for possible future use. Please use another name for it.
Here is a list of reserved name:
module
move
ref
static
super
unsafe
use
where
await
dyn
abstract
do
final
macro
override
typeof
virtual
yield
local
method
alias
Erroneous example#
fn module() -> Int { // Warning: The word `module` is reserved for possible future use. Please consider using another name.
3
}
Suggestion#
fn module_() -> Int {
3
}