rust/src/test/rustdoc-ui
Dylan DPC 61372e1af6
Rollup merge of #82846 - GuillaumeGomez:doc-alias-list, r=jyn514
rustdoc: allow list syntax for #[doc(alias)] attributes

Fixes https://github.com/rust-lang/rust/issues/81205.

It now allows to have:

```rust
#[doc(alias = "x")]
// and:
#[doc(alias("y", "z"))]
```

cc ``@jplatte``
r? ``@jyn514``
2021-03-19 15:03:21 +01:00
..
auxiliary Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
coverage Update tests for extern block linting 2021-01-13 07:49:16 -05:00
error-in-impl-trait Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
intra-doc Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
assoc-item-not-in-scope.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
assoc-item-not-in-scope.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
cfg-test.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
cfg-test.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
check-attr-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr-test.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-doc-alias-attr-location.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
check-doc-alias-attr-location.stderr Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
check-doc-alias-attr.rs Update doc alias ui tests 2021-03-11 22:33:40 +01:00
check-doc-alias-attr.stderr Update doc alias ui tests 2021-03-11 22:33:40 +01:00
check-fail.rs Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
check-fail.stderr Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
check.rs Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
check.stderr Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
commandline-argfile-badutf8.args rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-badutf8.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-badutf8.stderr rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-missing.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-missing.stderr rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile.args rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
deny-intra-link-resolution-failure.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
deny-intra-link-resolution-failure.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
deny-missing-docs-crate.rs
deny-missing-docs-crate.stderr
deny-missing-docs-macro.rs
deny-missing-docs-macro.stderr
deprecated-attrs.rs Report that `doc(plugins)` doesn't work using diagnostics instead of `println!` 2021-03-02 11:38:07 -05:00
deprecated-attrs.stderr Report that `doc(plugins)` doesn't work using diagnostics instead of `println!` 2021-03-02 11:38:07 -05:00
deref-generic.rs Balance sidebar `Deref` cycle check with main content 2021-01-30 14:23:50 +00:00
deref-recursive-cycle.rs Recursively document methods via `Deref` traits 2021-01-08 07:15:03 +00:00
doc-alias-assoc-const.rs Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
doc-alias-assoc-const.stderr Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
doc-alias-crate-level.rs Remove useless doc_alias feature 2021-01-05 16:20:46 +01:00
doc-alias-crate-level.stderr Add hyphen to "crate level" 2021-03-13 16:29:49 -08:00
doc-alias-same-name.rs Add tests for new doc alias check 2021-01-04 16:30:53 +01:00
doc-alias-same-name.stderr Add tests for new doc alias check 2021-01-04 16:30:53 +01:00
doc-attr.rs Tweak diagnostics 2021-03-14 14:00:02 -07:00
doc-attr.stderr Tweak diagnostics 2021-03-14 14:00:02 -07:00
doc-attr2.rs Add tests for #[doc(test(...)] check 2021-03-04 21:24:35 +01:00
doc-attr2.stderr Add hyphen to "crate level" 2021-03-13 16:29:49 -08:00
doc-test-doctest-feature.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-test-doctest-feature.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-test-rustdoc-feature.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-test-rustdoc-feature.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-without-codeblock.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
doc-without-codeblock.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
doctest-output.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doctest-output.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-compile-fail.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-compile-fail.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-missing-codes.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-missing-codes.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-output.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-output.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-should-panic.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-should-panic.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
ignore-block-help.rs Add test for suggestion in case a "ignore" doc block has invalid rust code inside 2021-01-01 16:34:22 +01:00
ignore-block-help.stderr Add test for suggestion in case a "ignore" doc block has invalid rust code inside 2021-01-01 16:34:22 +01:00
impl-fn-nesting.rs
impl-fn-nesting.stderr
infinite-recursive-type-impl-trait-return.rs
infinite-recursive-type-impl-trait-return.stderr
infinite-recursive-type-impl-trait.rs
infinite-recursive-type-impl-trait.stderr
infinite-recursive-type.rs
infinite-recursive-type.stderr
invalid-html-tags.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
invalid-html-tags.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
invalid-keyword.rs Add tests for doc_keyword feature extension 2020-11-27 17:54:28 +01:00
invalid-keyword.stderr Add tests for doc_keyword feature extension 2020-11-27 17:54:28 +01:00
invalid-syntax.rs
invalid-syntax.stderr Update rustdoc-ui test output 2021-01-02 16:55:12 +01:00
issue-58473-2.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-58473.rs
issue-61592-2.rs Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592-2.stderr Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592.rs Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592.stderr Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61732.rs
issue-61732.stderr
issue-74134.private.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-74134.public.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-74134.rs
issue-80992.rs Add a test 2021-01-16 06:55:29 +03:00
issue-80992.stdout Add a test 2021-01-16 06:55:29 +03:00
issue-81662-shortness.rs Add a test for the shortness format in rustdoc 2021-02-04 18:59:42 +01:00
issue-81662-shortness.stdout Add a test for the shortness format in rustdoc 2021-02-04 18:59:42 +01:00
lint-group.rs Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
lint-group.stderr Rename `rustdoc` to `rustdoc::all` 2021-03-05 15:26:55 -05:00
lint-missing-doc-code-example.rs Update missing code example test 2021-03-04 21:22:43 +01:00
lint-missing-doc-code-example.stderr Update missing code example test 2021-03-04 21:22:43 +01:00
no-crate-level-doc-lint.rs Address review comments 2021-03-01 19:29:15 -05:00
no-crate-level-doc-lint.stderr Address review comments 2021-03-01 19:29:15 -05:00
private-doc-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
private-item-doc-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
private-item-doc-test.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
pub-export-lint.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
pub-export-lint.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
range-pattern.rs Get rid of custom pretty-printing in rustdoc 2021-01-07 17:44:59 -05:00
reference-link-reports-error-once.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-link-reports-error-once.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-links.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-links.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
renamed-lint-still-applies.rs Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
renamed-lint-still-applies.stderr Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
run-directory.correct.stdout Add option to control doctest run directory 2021-01-23 18:52:51 +01:00
run-directory.incorrect.stdout Add option to control doctest run directory 2021-01-23 18:52:51 +01:00
run-directory.rs Add option to control doctest run directory 2021-01-23 18:52:51 +01:00
rustc-check-passes.rs Add test for rustdoc new check pass 2021-02-28 00:48:43 +01:00
rustc-check-passes.stderr Add test for rustdoc new check pass 2021-02-28 00:48:43 +01:00
test-compile-fail1.rs
test-compile-fail1.stderr
test-compile-fail2.rs
test-compile-fail2.stderr
test-compile-fail3.rs
test-compile-fail3.stderr
test-no_std.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
test-no_std.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
unknown-renamed-lints.rs Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
unknown-renamed-lints.stderr Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
unparseable-doc-test.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
unparseable-doc-test.stdout libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
unused-braces-lint.rs
unused.rs
url-improvements.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
url-improvements.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00