Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
23
vendor/wasm-bindgen-macro/ui-tests/invalid-enums.stderr
vendored
Normal file
23
vendor/wasm-bindgen-macro/ui-tests/invalid-enums.stderr
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
error: cannot export empty enums to JS
|
||||
--> $DIR/invalid-enums.rs:4:1
|
||||
|
|
||||
4 | enum A {}
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: only C-Style enums allowed with #[wasm_bindgen]
|
||||
--> $DIR/invalid-enums.rs:8:6
|
||||
|
|
||||
8 | D(u32),
|
||||
| ^^^^^
|
||||
|
||||
error: enums with #[wasm_bindgen] may only have number literal values
|
||||
--> $DIR/invalid-enums.rs:13:9
|
||||
|
|
||||
13 | X = 1 + 3,
|
||||
| ^^^^^
|
||||
|
||||
error: enums with #[wasm_bindgen] can only support numbers that can be represented as u32
|
||||
--> $DIR/invalid-enums.rs:18:9
|
||||
|
|
||||
18 | X = 4294967296,
|
||||
| ^^^^^^^^^^
|
||||
Loading…
Add table
Add a link
Reference in a new issue