about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorzetanumbers <dariasukhonina@gmail.com>2023-11-29 02:13:58 -0800
committerzetanumbers <dariasukhonina@gmail.com>2023-11-30 08:26:13 -0800
commitf7617c1cd4d1910613ffecdfd8de28889002f6cc (patch)
tree0e59cdec0aa2c45e9378af5cb273d7f37aabfa28 /tests/ui/error-codes
parent1670ff64bf1ccb2ad71068254b53725631c55864 (diff)
downloadrust-f7617c1cd4d1910613ffecdfd8de28889002f6cc.tar.gz
rust-f7617c1cd4d1910613ffecdfd8de28889002f6cc.zip
Enable link-arg link kind inside of #[link] attribute
- Implement link-arg as an attribute
- Apply suggestions from review
  - Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
- Add unstable book entry
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0458.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0458.stderr b/tests/ui/error-codes/E0458.stderr
index e641bba541e..c13ae4e7862 100644
--- a/tests/ui/error-codes/E0458.stderr
+++ b/tests/ui/error-codes/E0458.stderr
@@ -1,4 +1,4 @@
-error[E0458]: unknown link kind `wonderful_unicorn`, expected one of: static, dylib, framework, raw-dylib
+error[E0458]: unknown link kind `wonderful_unicorn`, expected one of: static, dylib, framework, raw-dylib, link-arg
   --> $DIR/E0458.rs:1:15
    |
 LL | #[link(kind = "wonderful_unicorn")] extern "C" {}