| 1 |
error: unused variable: `method` |
| 2 |
--> ui-tests/unused-attributes.rs:9:20 |
| 3 |
| |
| 4 |
9 | #[wasm_bindgen(method)] |
| 5 |
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` |
| 6 |
| |
| 7 |
note: the lint level is defined here |
| 8 |
--> ui-tests/unused-attributes.rs:1:9 |
| 9 |
| |
| 10 |
1 | #![deny(unused_variables)] |
| 11 |
| ^^^^^^^^^^^^^^^^ |
| 12 |
|
| 13 |
error: unused variable: `getter` |
| 14 |
--> ui-tests/unused-attributes.rs:18:16 |
| 15 |
| |
| 16 |
18 | #[wasm_bindgen(getter, typescript_custom_section)] |
| 17 |
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` |
| 18 |
|
| 19 |
error: unused variable: `readonly` |
| 20 |
--> ui-tests/unused-attributes.rs:21:16 |
| 21 |
| |
| 22 |
21 | #[wasm_bindgen(readonly)] |
| 23 |
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readonly` |
| 24 |
|
| 25 |
error: unused variable: `typescript_type` |
| 26 |
--> ui-tests/unused-attributes.rs:26:28 |
| 27 |
| |
| 28 |
26 | #[wasm_bindgen(getter, typescript_type = "Thing[]")] |
| 29 |
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typescript_type` |
| 30 |
|
| 31 |
error: unused variable: `getter_with_clone` |
| 32 |
--> ui-tests/unused-attributes.rs:24:16 |
| 33 |
| |
| 34 |
24 | #[wasm_bindgen(getter_with_clone, final)] |
| 35 |
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter_with_clone` |
| 36 |
|
| 37 |
error: unused variable: `final` |
| 38 |
--> ui-tests/unused-attributes.rs:24:35 |
| 39 |
| |
| 40 |
24 | #[wasm_bindgen(getter_with_clone, final)] |
| 41 |
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_final` |