.cargo/vendor/wasm-bindgen-macro/ui-tests/main-debug.rs
raw| 1 | use std::fmt; |
| 2 | use wasm_bindgen::prelude::*; |
| 3 | |
| 4 | #[wasm_bindgen(main)] |
| 5 | fn main() -> Result<(), Test> { |
| 6 | unimplemented!() |
| 7 | } |
| 8 | |
| 9 | struct Test; |
| 10 | |
| 11 | impl fmt::Debug for Test { |
| 12 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 13 | unimplemented!() |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | #[wasm_bindgen(main)] |
| 18 | fn fail() {} |