From 2be00947bfbb7e31cd6a5b6cf1e9e2f0bc1c4da6 Mon Sep 17 00:00:00 2001 From: hdelc Date: Tue, 2 Aug 2022 23:11:22 -0400 Subject: Add items to `DocAliasBadLocation` check error match arm - Added `Impl`, `Closure`, ForeignMod` targets - `Target::name` changed for `Target::Impl` - Error output for `Target::ForeignMod` changed to "foreign module" --- src/test/rustdoc-ui/check-doc-alias-attr-location.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/rustdoc-ui') diff --git a/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr b/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr index 175626f49dc..85c9516236c 100644 --- a/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr +++ b/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr @@ -1,4 +1,4 @@ -error: `#[doc(alias = "...")]` isn't allowed on extern block +error: `#[doc(alias = "...")]` isn't allowed on foreign module --> $DIR/check-doc-alias-attr-location.rs:7:7 | LL | #[doc(alias = "foo")] -- cgit 1.4.1-3-g733a5