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