Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
41
vendor/wasm-bindgen-macro/ui-tests/invalid-imports.rs
vendored
Normal file
41
vendor/wasm-bindgen-macro/ui-tests/invalid-imports.rs
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
type A;
|
||||
|
||||
fn f() -> &'static u32;
|
||||
|
||||
#[wasm_bindgen(method)]
|
||||
fn f1();
|
||||
#[wasm_bindgen(method)]
|
||||
fn f2(x: u32);
|
||||
#[wasm_bindgen(method)]
|
||||
fn f3(x: &&u32);
|
||||
#[wasm_bindgen(method)]
|
||||
fn f4(x: &foo::Bar);
|
||||
#[wasm_bindgen(method)]
|
||||
fn f4(x: &::Bar);
|
||||
#[wasm_bindgen(method)]
|
||||
fn f4(x: &Bar<T>);
|
||||
#[wasm_bindgen(method)]
|
||||
fn f4(x: &Fn(T));
|
||||
|
||||
#[wasm_bindgen(constructor)]
|
||||
fn f();
|
||||
#[wasm_bindgen(constructor)]
|
||||
fn f() -> ::Bar;
|
||||
#[wasm_bindgen(constructor)]
|
||||
fn f() -> &Bar;
|
||||
|
||||
#[wasm_bindgen(catch)]
|
||||
fn f() -> u32;
|
||||
#[wasm_bindgen(catch)]
|
||||
fn f() -> &u32;
|
||||
#[wasm_bindgen(catch)]
|
||||
fn f() -> Result<>;
|
||||
#[wasm_bindgen(catch)]
|
||||
fn f() -> Result<'a>;
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue