X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Fui%2Frustdoc%2Fdoc-primitive.stderr;fp=tests%2Fui%2Frustdoc%2Fdoc-primitive.stderr;h=d61eb381647959c09fc28192c3d8a6187c41b14b;hb=26c9e740979f0063790cbc37e8c490da76ec0743;hp=0000000000000000000000000000000000000000;hpb=e1ed88c81f28226936b0f9d0358d45bb02563e4f;p=rustc.git diff --git a/tests/ui/rustdoc/doc-primitive.stderr b/tests/ui/rustdoc/doc-primitive.stderr new file mode 100644 index 0000000000..d61eb38164 --- /dev/null +++ b/tests/ui/rustdoc/doc-primitive.stderr @@ -0,0 +1,16 @@ +error: unknown `doc` attribute `primitive` + --> $DIR/doc-primitive.rs:3:7 + | +LL | #[doc(primitive = "foo")] + | ^^^^^^^^^^^^^^^^^ + | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! + = note: for more information, see issue #82730 +note: the lint level is defined here + --> $DIR/doc-primitive.rs:1:9 + | +LL | #![deny(invalid_doc_attributes)] + | ^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error +