]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/import-name-type-unsupported-link-kind.stderr
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / rfc-2627-raw-dylib / import-name-type-unsupported-link-kind.stderr
1 error: import name type can only be used with link kind `raw-dylib`
2   --> $DIR/import-name-type-unsupported-link-kind.rs:5:22
3    |
4 LL | #[link(name = "foo", import_name_type = "decorated")]
5    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: import name type can only be used with link kind `raw-dylib`
8   --> $DIR/import-name-type-unsupported-link-kind.rs:9:39
9    |
10 LL | #[link(name = "bar", kind = "static", import_name_type = "decorated")]
11    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14