mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-17 06:21:36 +03:00
15 lines
311 B
Plaintext
15 lines
311 B
Plaintext
|
error: the start function cannot have arguments
|
||
|
--> $DIR/start-function.rs:9:13
|
||
|
|
|
||
|
9 | pub fn foo2(x: u32) {}
|
||
|
| ^^^^^^
|
||
|
|
||
|
error: the start function cannot have generics
|
||
|
--> $DIR/start-function.rs:12:12
|
||
|
|
|
||
|
12 | pub fn foo3<T>() {}
|
||
|
| ^^^
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|