| 1 |
//! This test validates that the generated bindings don't cause linting warnings |
| 2 |
//! when used with structs annotated with `#[must_use]`. |
| 3 |
|
| 4 |
#![deny(unused)] |
| 5 |
|
| 6 |
use wasm_bindgen::prelude::*; |
| 7 |
|
| 8 |
#[wasm_bindgen] |
| 9 |
#[must_use] |
| 10 |
pub struct MustUse {} |