Duolith docs

Errors E0300 to E0399

E0301 Rust module does not compile

Message The Rust module name does not compile

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

cargo reported an error compiling the module for the web. The help shows the compiler's first error.

How to fix it

Correct the Rust code at the place cargo names, or run cargo build --target wasm32-unknown-unknown in the module's folder to see every error.

In a terminal

duolith explain E0301

Mentioned in