wasm-bindgen/crates/macro/ui-tests/unused-attributes.stderr
Alex Crichton c8a352189b Assert all attributes are used by default
This commit implements a system that will assert that all
`#[wasm_bindgen]` attributes are actually used during compilation. This
should help ensure that we don't sneak in stray attributes that don't
actually end up having any meaning, and hopefully make it a bit easier
to learn `#[wasm_bindgen]`!
2018-11-28 11:42:48 -08:00

15 lines
328 B
Plaintext

error: unused #[wasm_bindgen] attribute
--> $DIR/unused-attributes.rs:7:20
|
7 | #[wasm_bindgen(method)]
| ^^^^^^
error: unused #[wasm_bindgen] attribute
--> $DIR/unused-attributes.rs:8:20
|
8 | #[wasm_bindgen(method)]
| ^^^^^^
error: aborting due to 2 previous errors