wasm-bindgen/crates/macro/ui-tests/start-function.stderr
Alex Crichton 4cc730fc41 Migrate to trybuild from compiletest
This migrates our UI tests to the recently published `trybuild` crate
which should hopefully be a bit more robust than `compiletest` over
time!
2019-05-15 14:47:22 -07:00

12 lines
268 B
Plaintext

error: the start function cannot have arguments
--> $DIR/start-function.rs:7:13
|
7 | pub fn foo2(x: u32) {}
| ^^^^^^
error: the start function cannot have generics
--> $DIR/start-function.rs:10:12
|
10 | pub fn foo3<T>() {}
| ^^^