.cargo/vendor/wasm-bindgen-macro/ui-tests/bad-signatures.stderr
raw| 1 | error: cannot return a borrowed ref with #[wasm_bindgen] |
| 2 | --> $DIR/bad-signatures.rs:4:17 |
| 3 | | |
| 4 | 4 | pub fn foo() -> &u32 {} |
| 5 | | ^^^^ |
| 6 | |
| 7 | error: unsupported pattern in #[wasm_bindgen] imported function |
| 8 | --> $DIR/bad-signatures.rs:8:12 |
| 9 | | |
| 10 | 8 | fn foo(Foo(x): Foo); |
| 11 | | ^^^^^^ |
| 12 | |
| 13 | error: cannot return references in #[wasm_bindgen] imports yet |
| 14 | --> $DIR/bad-signatures.rs:10:17 |
| 15 | | |
| 16 | 10 | fn foo() -> &u32; |
| 17 | | ^^^^ |