summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr32
1 files changed, 16 insertions, 16 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr b/vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr
index aeb09c574..c83c040e8 100644
--- a/vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr
+++ b/vendor/wasm-bindgen-macro/ui-tests/invalid-imports.stderr
@@ -1,71 +1,71 @@
error: it is currently not sound to use lifetimes in function signatures
- --> $DIR/invalid-imports.rs:7:16
+ --> ui-tests/invalid-imports.rs:7:16
|
7 | fn f() -> &'static u32;
| ^^^^^^^
error: imported methods must have at least one argument
- --> $DIR/invalid-imports.rs:10:5
+ --> ui-tests/invalid-imports.rs:10:5
|
10 | fn f1();
| ^^^^^^^^
error: first argument of method must be a shared reference
- --> $DIR/invalid-imports.rs:12:14
+ --> ui-tests/invalid-imports.rs:12:14
|
12 | fn f2(x: u32);
| ^^^
error: first argument of method must be a path
- --> $DIR/invalid-imports.rs:14:14
+ --> ui-tests/invalid-imports.rs:14:15
|
14 | fn f3(x: &&u32);
- | ^^^^^
+ | ^^^^
error: paths with type parameters are not supported yet
- --> $DIR/invalid-imports.rs:20:15
+ --> ui-tests/invalid-imports.rs:20:15
|
20 | fn f4(x: &Bar<T>);
| ^^^^^^
-error: paths with type parameters are not supported yet
- --> $DIR/invalid-imports.rs:22:15
+error: first argument of method must be a path
+ --> ui-tests/invalid-imports.rs:22:15
|
-22 | fn f4(x: &Fn(T));
- | ^^^^^
+22 | fn f4(x: &dyn Fn(T));
+ | ^^^^^^^^^
error: constructor returns must be bare types
- --> $DIR/invalid-imports.rs:25:5
+ --> ui-tests/invalid-imports.rs:25:5
|
25 | fn f();
| ^^^^^^^
error: return value of constructor must be a bare path
- --> $DIR/invalid-imports.rs:29:5
+ --> ui-tests/invalid-imports.rs:29:5
|
29 | fn f() -> &Bar;
| ^^^^^^^^^^^^^^^
error: must be Result<...>
- --> $DIR/invalid-imports.rs:32:15
+ --> ui-tests/invalid-imports.rs:32:15
|
32 | fn f() -> u32;
| ^^^
error: must be Result<...>
- --> $DIR/invalid-imports.rs:34:15
+ --> ui-tests/invalid-imports.rs:34:15
|
34 | fn f() -> &u32;
| ^^^^
error: must have at least one generic parameter
- --> $DIR/invalid-imports.rs:36:15
+ --> ui-tests/invalid-imports.rs:36:15
|
36 | fn f() -> Result<>;
| ^^^^^^^^
error: it is currently not sound to use lifetimes in function signatures
- --> $DIR/invalid-imports.rs:38:22
+ --> ui-tests/invalid-imports.rs:38:22
|
38 | fn f() -> Result<'a>;
| ^^