diff options
| author | hdelc <hdelc02@gmail.com> | 2022-08-02 23:11:22 -0400 |
|---|---|---|
| committer | hdelc <hdelc02@gmail.com> | 2022-08-02 23:11:22 -0400 |
| commit | 2be00947bfbb7e31cd6a5b6cf1e9e2f0bc1c4da6 (patch) | |
| tree | 2d42fe432758a3d2e64b1d3c93b7f9259d18c16b /src/test/rustdoc-ui | |
| parent | 1e8abe7da2ea02af86e840716e241ca0fec653f2 (diff) | |
| download | rust-2be00947bfbb7e31cd6a5b6cf1e9e2f0bc1c4da6.tar.gz rust-2be00947bfbb7e31cd6a5b6cf1e9e2f0bc1c4da6.zip | |
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"
Diffstat (limited to 'src/test/rustdoc-ui')
| -rw-r--r-- | src/test/rustdoc-ui/check-doc-alias-attr-location.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
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")] |
