]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wasm-import-module.stderr
Auto merge of #49348 - bobtwinkles:extend_2pb, r=nikomatsakis
[rust.git] / src / test / ui / wasm-import-module.stderr
1 error: must be of the form #[wasm_import_module = "..."]
2   --> $DIR/wasm-import-module.rs:13:1
3    |
4 LL | #[wasm_import_module] //~ ERROR: must be of the form
5    | ^^^^^^^^^^^^^^^^^^^^^
6
7 error: must only be attached to foreign modules
8   --> $DIR/wasm-import-module.rs:16:1
9    |
10 LL | #[wasm_import_module = "foo"] //~ ERROR: must only be attached to
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14