diff options
Diffstat (limited to 'tests/rustdoc-ui/doc-alias-same-name.stderr')
-rw-r--r-- | tests/rustdoc-ui/doc-alias-same-name.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doc-alias-same-name.stderr b/tests/rustdoc-ui/doc-alias-same-name.stderr new file mode 100644 index 000000000..5ba09a2ea --- /dev/null +++ b/tests/rustdoc-ui/doc-alias-same-name.stderr @@ -0,0 +1,8 @@ +error: `#[doc(alias = "...")]` is the same as the item's name + --> $DIR/doc-alias-same-name.rs:3:7 + | +LL | #[doc(alias = "Foo")] + | ^^^^^^^^^^^^^ + +error: aborting due to previous error + |