summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/unused-attributes.stderr
blob: c4ba32f08171dd62350f32f1edc6b29ff0fd9dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
error: unused variable: `method`
 --> ui-tests/unused-attributes.rs:9:20
  |
9 |     #[wasm_bindgen(method)]
  |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
  |
note: the lint level is defined here
 --> ui-tests/unused-attributes.rs:1:9
  |
1 | #![deny(unused_variables)]
  |         ^^^^^^^^^^^^^^^^

error: unused variable: `getter`
  --> ui-tests/unused-attributes.rs:18:16
   |
18 | #[wasm_bindgen(getter, typescript_custom_section)]
   |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter`

error: unused variable: `readonly`
  --> ui-tests/unused-attributes.rs:21:16
   |
21 | #[wasm_bindgen(readonly)]
   |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readonly`

error: unused variable: `getter_with_clone`
  --> ui-tests/unused-attributes.rs:24:16
   |
24 | #[wasm_bindgen(getter_with_clone, final)]
   |                ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter_with_clone`

error: unused variable: `final`
  --> ui-tests/unused-attributes.rs:24:35
   |
24 | #[wasm_bindgen(getter_with_clone, final)]
   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_final`

error: unused variable: `typescript_type`
  --> ui-tests/unused-attributes.rs:26:28
   |
26 |     #[wasm_bindgen(getter, typescript_type = "Thing[]")]
   |                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typescript_type`