]> git.proxmox.com Git - rustc.git/blob - vendor/wasm-bindgen-macro/ui-tests/unused-attributes.stderr
New upstream version 1.70.0+dfsg2
[rustc.git] / vendor / wasm-bindgen-macro / ui-tests / unused-attributes.stderr
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: `getter_with_clone`
26 --> ui-tests/unused-attributes.rs:24:16
27 |
28 24 | #[wasm_bindgen(getter_with_clone, final)]
29 | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter_with_clone`
30
31 error: unused variable: `final`
32 --> ui-tests/unused-attributes.rs:24:35
33 |
34 24 | #[wasm_bindgen(getter_with_clone, final)]
35 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_final`
36
37 error: unused variable: `typescript_type`
38 --> ui-tests/unused-attributes.rs:26:28
39 |
40 26 | #[wasm_bindgen(getter, typescript_type = "Thing[]")]
41 | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typescript_type`