1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-28 16:01:06 +00:00
Alex Crichton 4a78769349
Convert some more macro panics to diagnostics ()
This should hopefully be the last of the manually written diagnostics!
2018-08-02 11:12:50 -05:00

16 lines
211 B
Rust

#![feature(use_extern_macros)]
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub fn foo() -> &u32 {}
#[wasm_bindgen]
extern "C" {
fn foo(Foo(x): Foo);
fn foo() -> &u32;
}