summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/main-debug.rs
blob: 2fc9aa7ca6a89ecded2c38c03e64bd295e24d130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::fmt;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(main)]
fn main() -> Result<(), Test> {
    unimplemented!()
}

struct Test;

impl fmt::Debug for Test {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        unimplemented!()
    }
}

#[wasm_bindgen(main)]
fn fail() {}