mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 18:50:51 +00:00
Rejigger a few spans, work around an odd rustc issue, and hopefully produce higher quality error messages! Closes #1528
12 lines
129 B
Rust
12 lines
129 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
struct A;
|
|
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
#[wasm_bindgen]
|
|
pub fn foo(a: A);
|
|
}
|
|
|
|
fn main() {}
|