wasm-bindgen/crates/macro/ui-tests/invalid-imports.stderr

93 lines
2.1 KiB
Plaintext
Raw Normal View History

error: it is currently not sound to use lifetimes in function signatures
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:11:16
|
11 | fn f() -> &'static u32;
| ^^^^^^^
error: imported methods must have at least one argument
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:14:5
|
2019-01-02 08:35:01 -08:00
14 | fn f1();
| ^^^^^^^^
error: first argument of method must be a shared reference
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:16:14
|
2019-01-02 08:35:01 -08:00
16 | fn f2(x: u32);
| ^^^
error: first argument of method must be a path
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:18:14
|
2019-01-02 08:35:01 -08:00
18 | fn f3(x: &&u32);
| ^^^^^
error: multi-segment paths are not supported yet
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:20:15
|
2019-01-02 08:35:01 -08:00
20 | fn f4(x: &foo::Bar);
| ^^^^^^^^
error: global paths are not supported yet
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:22:15
|
2019-01-02 08:35:01 -08:00
22 | fn f4(x: &::Bar);
| ^^^^^
error: paths with type parameters are not supported yet
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:24:15
|
2019-01-02 08:35:01 -08:00
24 | fn f4(x: &Bar<T>);
| ^^^^^^
error: paths with type parameters are not supported yet
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:26:15
|
2019-01-02 08:35:01 -08:00
26 | fn f4(x: &Fn(T));
| ^^^^^
error: constructor returns must be bare types
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:29:5
|
2019-01-02 08:35:01 -08:00
29 | fn f();
| ^^^^^^^
error: global paths are not supported yet
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:31:15
|
2019-01-02 08:35:01 -08:00
31 | fn f() -> ::Bar;
| ^^^^^
error: return value of constructor must be a bare path
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:33:5
|
2019-01-02 08:35:01 -08:00
33 | fn f() -> &Bar;
| ^^^^^^^^^^^^^^^
error: must be Result<...>
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:36:15
|
2019-01-02 08:35:01 -08:00
36 | fn f() -> u32;
| ^^^
error: must be Result<...>
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:38:15
|
2019-01-02 08:35:01 -08:00
38 | fn f() -> &u32;
| ^^^^
error: must have at least one generic parameter
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:40:15
|
2019-01-02 08:35:01 -08:00
40 | fn f() -> Result<>;
| ^^^^^^^^
error: it is currently not sound to use lifetimes in function signatures
2019-01-02 08:35:01 -08:00
--> $DIR/invalid-imports.rs:42:22
|
2019-01-02 08:35:01 -08:00
42 | fn f() -> Result<'a>;
| ^^
error: aborting due to 15 previous errors