diff options
| author | Urgau <urgau@numericable.fr> | 2025-10-03 12:02:35 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-10-03 17:04:17 +0200 |
| commit | c1443e2591c284f6ac8372d15c88f8d6c9470e4c (patch) | |
| tree | 5a2180b5f5d16c19a68259f39ca43209fb93e01f /tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr | |
| parent | e914a1a6e026d2c9db43300735a75ba25746e14c (diff) | |
| download | rust-c1443e2591c284f6ac8372d15c88f8d6c9470e4c.tar.gz rust-c1443e2591c284f6ac8372d15c88f8d6c9470e4c.zip | |
Add regression test for `-Zcrate-attr` in `rustdoc --test`
Diffstat (limited to 'tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr')
| -rw-r--r-- | tests/rustdoc-ui/doctest/unstable-opts-147276.normal.stderr | 13 |
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`. |
