about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr')
-rw-r--r--tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr b/tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr
new file mode 100644
index 00000000000..eebf4f307f1
--- /dev/null
+++ b/tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr
@@ -0,0 +1,13 @@
+error[E0658]: `#[used(linker)]` is currently unstable
+  --> $DIR/unstable-opts-147276.rs:15:1
+   |
+LL | #[used(linker)]
+   | ^^^^^^^^^^^^^^^
+   |
+   = note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
+   = help: add `#![feature(used_with_arg)]` to the crate attributes to enable
+   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
+
+error: aborting due to 1 previous error
+
+For more information about this error, try `rustc --explain E0658`.