diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:58 +0000 |
commit | a4b7ed7a42c716ab9f05e351f003d589124fd55d (patch) | |
tree | b620cd3f223850b28716e474e80c58059dca5dd4 /tests/rustdoc-ui | |
parent | Adding upstream version 1.67.1+dfsg1. (diff) | |
download | rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip |
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc-ui/ambiguous-inherent-assoc-ty.rs (renamed from src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/assoc-item-not-in-scope.rs (renamed from src/test/rustdoc-ui/assoc-item-not-in-scope.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/assoc-item-not-in-scope.stderr (renamed from src/test/rustdoc-ui/assoc-item-not-in-scope.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/empty-fn.rs (renamed from src/test/rustdoc-ui/auxiliary/empty-fn.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/extern_macros.rs (renamed from src/test/rustdoc-ui/auxiliary/extern_macros.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/issue-61592.rs (renamed from src/test/rustdoc-ui/auxiliary/issue-61592.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/module_macro_doc.rs (renamed from src/test/rustdoc-ui/auxiliary/module_macro_doc.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/overflow.rs (renamed from src/test/rustdoc-ui/auxiliary/overflow.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/auxiliary/panic-item.rs (renamed from src/test/rustdoc-ui/auxiliary/panic-item.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/bare-urls.fixed (renamed from src/test/rustdoc-ui/bare-urls.fixed) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/bare-urls.rs (renamed from src/test/rustdoc-ui/bare-urls.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/bare-urls.stderr (renamed from src/test/rustdoc-ui/bare-urls.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/block-doc-comment.rs (renamed from src/test/rustdoc-ui/block-doc-comment.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/block-doc-comment.stdout (renamed from src/test/rustdoc-ui/block-doc-comment.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/bounded-hr-lifetime.rs (renamed from src/test/rustdoc-ui/bounded-hr-lifetime.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/bounded-hr-lifetime.stderr (renamed from src/test/rustdoc-ui/bounded-hr-lifetime.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/c-help.rs (renamed from src/test/rustdoc-ui/c-help.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/c-help.stdout (renamed from src/test/rustdoc-ui/c-help.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/cfg-test.rs (renamed from src/test/rustdoc-ui/cfg-test.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/cfg-test.stdout (renamed from src/test/rustdoc-ui/cfg-test.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-attr-test.rs (renamed from src/test/rustdoc-ui/check-attr-test.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-attr-test.stderr (renamed from src/test/rustdoc-ui/check-attr-test.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-attr.rs (renamed from src/test/rustdoc-ui/check-attr.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-attr.stderr (renamed from src/test/rustdoc-ui/check-attr.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg-test.rs | 12 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg-test.stderr (renamed from src/test/rustdoc-ui/check-cfg-test.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg-test.stdout (renamed from src/test/rustdoc-ui/check-cfg-test.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg-unstable.rs (renamed from src/test/rustdoc-ui/check-cfg-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg-unstable.stderr (renamed from src/test/rustdoc-ui/check-cfg-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg.rs (renamed from src/test/rustdoc-ui/check-cfg.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-cfg.stderr (renamed from src/test/rustdoc-ui/check-cfg.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-doc-alias-attr-location.rs (renamed from src/test/rustdoc-ui/check-doc-alias-attr-location.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-doc-alias-attr-location.stderr (renamed from src/test/rustdoc-ui/check-doc-alias-attr-location.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-doc-alias-attr.rs (renamed from src/test/rustdoc-ui/check-doc-alias-attr.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-doc-alias-attr.stderr (renamed from src/test/rustdoc-ui/check-doc-alias-attr.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-fail.rs (renamed from src/test/rustdoc-ui/check-fail.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check-fail.stderr (renamed from src/test/rustdoc-ui/check-fail.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check.rs (renamed from src/test/rustdoc-ui/check.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/check.stderr (renamed from src/test/rustdoc-ui/check.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile-badutf8.args (renamed from src/test/rustdoc-ui/commandline-argfile-badutf8.args) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile-badutf8.rs (renamed from src/test/rustdoc-ui/commandline-argfile-badutf8.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile-badutf8.stderr (renamed from src/test/rustdoc-ui/commandline-argfile-badutf8.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile-missing.rs (renamed from src/test/rustdoc-ui/commandline-argfile-missing.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile-missing.stderr (renamed from src/test/rustdoc-ui/commandline-argfile-missing.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile.args (renamed from src/test/rustdoc-ui/commandline-argfile.args) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/commandline-argfile.rs (renamed from src/test/rustdoc-ui/commandline-argfile.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/const-evalutation-ice.rs (renamed from src/test/rustdoc-ui/const-evalutation-ice.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/const-evalutation-ice.stderr (renamed from src/test/rustdoc-ui/const-evalutation-ice.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/allow_missing_docs.rs (renamed from src/test/rustdoc-ui/coverage/allow_missing_docs.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/allow_missing_docs.stderr (renamed from src/test/rustdoc-ui/coverage/allow_missing_docs.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/allow_missing_docs.stdout (renamed from src/test/rustdoc-ui/coverage/allow_missing_docs.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/basic.rs (renamed from src/test/rustdoc-ui/coverage/basic.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/basic.stdout (renamed from src/test/rustdoc-ui/coverage/basic.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/doc-examples-json.rs (renamed from src/test/rustdoc-ui/coverage/doc-examples-json.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/doc-examples-json.stdout (renamed from src/test/rustdoc-ui/coverage/doc-examples-json.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/doc-examples.rs (renamed from src/test/rustdoc-ui/coverage/doc-examples.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/doc-examples.stdout (renamed from src/test/rustdoc-ui/coverage/doc-examples.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/empty.rs (renamed from src/test/rustdoc-ui/coverage/empty.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/empty.stdout (renamed from src/test/rustdoc-ui/coverage/empty.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enum-tuple-documented.rs (renamed from src/test/rustdoc-ui/coverage/enum-tuple-documented.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enum-tuple-documented.stdout (renamed from src/test/rustdoc-ui/coverage/enum-tuple-documented.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enum-tuple.rs (renamed from src/test/rustdoc-ui/coverage/enum-tuple.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enum-tuple.stdout (renamed from src/test/rustdoc-ui/coverage/enum-tuple.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enums.rs (renamed from src/test/rustdoc-ui/coverage/enums.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/enums.stdout (renamed from src/test/rustdoc-ui/coverage/enums.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/exotic.rs (renamed from src/test/rustdoc-ui/coverage/exotic.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/exotic.stdout (renamed from src/test/rustdoc-ui/coverage/exotic.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/html.rs (renamed from src/test/rustdoc-ui/coverage/html.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/html.stderr (renamed from src/test/rustdoc-ui/coverage/html.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/json.rs (renamed from src/test/rustdoc-ui/coverage/json.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/json.stdout (renamed from src/test/rustdoc-ui/coverage/json.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/private.rs (renamed from src/test/rustdoc-ui/coverage/private.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/private.stdout (renamed from src/test/rustdoc-ui/coverage/private.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/statics-consts.rs (renamed from src/test/rustdoc-ui/coverage/statics-consts.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/statics-consts.stdout (renamed from src/test/rustdoc-ui/coverage/statics-consts.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/traits.rs (renamed from src/test/rustdoc-ui/coverage/traits.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/coverage/traits.stdout (renamed from src/test/rustdoc-ui/coverage/traits.stdout) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-intra-link-resolution-failure.rs (renamed from src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-intra-link-resolution-failure.stderr (renamed from src/test/rustdoc-ui/deny-intra-link-resolution-failure.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-missing-docs-crate.rs (renamed from src/test/rustdoc-ui/deny-missing-docs-crate.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-missing-docs-crate.stderr (renamed from src/test/rustdoc-ui/deny-missing-docs-crate.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-missing-docs-macro.rs (renamed from src/test/rustdoc-ui/deny-missing-docs-macro.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deny-missing-docs-macro.stderr (renamed from src/test/rustdoc-ui/deny-missing-docs-macro.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deprecated-attrs.rs (renamed from src/test/rustdoc-ui/deprecated-attrs.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deprecated-attrs.stderr (renamed from src/test/rustdoc-ui/deprecated-attrs.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/deref-generic.rs (renamed from src/test/rustdoc-ui/deref-generic.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/diagnostic-width.rs (renamed from src/test/rustdoc-ui/diagnostic-width.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/diagnostic-width.stderr (renamed from src/test/rustdoc-ui/diagnostic-width.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/display-output.rs (renamed from src/test/rustdoc-ui/display-output.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/display-output.stdout (renamed from src/test/rustdoc-ui/display-output.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-assoc-const.rs (renamed from src/test/rustdoc-ui/doc-alias-assoc-const.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-assoc-const.stderr (renamed from src/test/rustdoc-ui/doc-alias-assoc-const.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-crate-level.rs (renamed from src/test/rustdoc-ui/doc-alias-crate-level.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-crate-level.stderr (renamed from src/test/rustdoc-ui/doc-alias-crate-level.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-same-name.rs (renamed from src/test/rustdoc-ui/doc-alias-same-name.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-alias-same-name.stderr (renamed from src/test/rustdoc-ui/doc-alias-same-name.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-attr.rs (renamed from src/test/rustdoc-ui/doc-attr.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-attr.stderr (renamed from src/test/rustdoc-ui/doc-attr.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-cfg.rs (renamed from src/test/rustdoc-ui/doc-cfg.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-cfg.stderr (renamed from src/test/rustdoc-ui/doc-cfg.stderr) | 4 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-comment-multi-line-attr.rs (renamed from src/test/rustdoc-ui/doc-comment-multi-line-attr.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-comment-multi-line-attr.stdout (renamed from src/test/rustdoc-ui/doc-comment-multi-line-attr.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs (renamed from src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout (renamed from src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-include-suggestion.rs (renamed from src/test/rustdoc-ui/doc-include-suggestion.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-include-suggestion.stderr (renamed from src/test/rustdoc-ui/doc-include-suggestion.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-spotlight.fixed (renamed from src/test/rustdoc-ui/doc-spotlight.fixed) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-spotlight.rs (renamed from src/test/rustdoc-ui/doc-spotlight.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-spotlight.stderr (renamed from src/test/rustdoc-ui/doc-spotlight.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-attr-pass.rs (renamed from src/test/rustdoc-ui/doc-test-attr-pass.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-attr.rs (renamed from src/test/rustdoc-ui/doc-test-attr.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-attr.stderr (renamed from src/test/rustdoc-ui/doc-test-attr.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-doctest-feature.rs (renamed from src/test/rustdoc-ui/doc-test-doctest-feature.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-doctest-feature.stdout (renamed from src/test/rustdoc-ui/doc-test-doctest-feature.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-rustdoc-feature.rs (renamed from src/test/rustdoc-ui/doc-test-rustdoc-feature.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-test-rustdoc-feature.stdout (renamed from src/test/rustdoc-ui/doc-test-rustdoc-feature.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-without-codeblock.rs (renamed from src/test/rustdoc-ui/doc-without-codeblock.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc-without-codeblock.stderr (renamed from src/test/rustdoc-ui/doc-without-codeblock.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc_cfg_hide.rs (renamed from src/test/rustdoc-ui/doc_cfg_hide.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doc_cfg_hide.stderr (renamed from src/test/rustdoc-ui/doc_cfg_hide.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-edition.rs (renamed from src/test/rustdoc-ui/doctest-edition.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-edition.stderr (renamed from src/test/rustdoc-ui/doctest-edition.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-multiline-crate-attribute.rs (renamed from src/test/rustdoc-ui/doctest-multiline-crate-attribute.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-multiline-crate-attribute.stdout (renamed from src/test/rustdoc-ui/doctest-multiline-crate-attribute.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-output.rs (renamed from src/test/rustdoc-ui/doctest-output.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/doctest-output.stdout (renamed from src/test/rustdoc-ui/doctest-output.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/README.md (renamed from src/test/rustdoc-ui/error-in-impl-trait/README.md) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/async.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/async.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/closure.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/closure.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/const-generics.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/const-generics.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/generic-argument.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/impl-keyword.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/impl-keyword.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/realistic-async.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/error-in-impl-trait/trait-alias.rs (renamed from src/test/rustdoc-ui/error-in-impl-trait/trait-alias.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/expect-tool-lint-rfc-2383.rs (renamed from src/test/rustdoc-ui/expect-tool-lint-rfc-2383.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/expect-tool-lint-rfc-2383.stderr (renamed from src/test/rustdoc-ui/expect-tool-lint-rfc-2383.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-compile-fail.rs (renamed from src/test/rustdoc-ui/failed-doctest-compile-fail.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-compile-fail.stdout (renamed from src/test/rustdoc-ui/failed-doctest-compile-fail.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs (renamed from src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout (renamed from src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-missing-codes.rs (renamed from src/test/rustdoc-ui/failed-doctest-missing-codes.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-missing-codes.stdout (renamed from src/test/rustdoc-ui/failed-doctest-missing-codes.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-output-windows.rs (renamed from src/test/rustdoc-ui/failed-doctest-output-windows.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-output-windows.stdout (renamed from src/test/rustdoc-ui/failed-doctest-output-windows.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-output.rs (renamed from src/test/rustdoc-ui/failed-doctest-output.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-output.stdout (renamed from src/test/rustdoc-ui/failed-doctest-output.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-should-panic.rs (renamed from src/test/rustdoc-ui/failed-doctest-should-panic.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/failed-doctest-should-panic.stdout (renamed from src/test/rustdoc-ui/failed-doctest-should-panic.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/feature-gate-doc_cfg_hide.rs (renamed from src/test/rustdoc-ui/feature-gate-doc_cfg_hide.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/feature-gate-doc_cfg_hide.stderr (renamed from src/test/rustdoc-ui/feature-gate-doc_cfg_hide.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs (renamed from src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr (renamed from src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt-unstable.rs (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt.rs (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt.stderr (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt2.rs (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt2.stderr (renamed from src/test/rustdoc-ui/generate-link-to-definition-opt2.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/ignore-block-help.rs (renamed from src/test/rustdoc-ui/ignore-block-help.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/ignore-block-help.stderr (renamed from src/test/rustdoc-ui/ignore-block-help.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/impl-fn-nesting.rs (renamed from src/test/rustdoc-ui/impl-fn-nesting.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/impl-fn-nesting.stderr (renamed from src/test/rustdoc-ui/impl-fn-nesting.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs (renamed from src/test/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs (renamed from src/test/rustdoc-ui/infinite-recursive-type-impl-trait.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/infinite-recursive-type.rs (renamed from src/test/rustdoc-ui/infinite-recursive-type.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/infinite-recursive-type.stderr (renamed from src/test/rustdoc-ui/infinite-recursive-type.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/alias-ice.rs (renamed from src/test/rustdoc-ui/intra-doc/alias-ice.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/alias-ice.stderr (renamed from src/test/rustdoc-ui/intra-doc/alias-ice.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/ambiguity.rs (renamed from src/test/rustdoc-ui/intra-doc/ambiguity.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/ambiguity.stderr (renamed from src/test/rustdoc-ui/intra-doc/ambiguity.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/anchors.rs (renamed from src/test/rustdoc-ui/intra-doc/anchors.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/anchors.stderr (renamed from src/test/rustdoc-ui/intra-doc/anchors.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/assoc-field.rs (renamed from src/test/rustdoc-ui/intra-doc/assoc-field.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs (renamed from src/test/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/dep1.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/dep1.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/dep2.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/dep2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/dep3.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/dep3.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/dep4.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/dep4.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs (renamed from src/test/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/broken-reexport.rs (renamed from src/test/rustdoc-ui/intra-doc/broken-reexport.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/crate-nonexistent.rs (renamed from src/test/rustdoc-ui/intra-doc/crate-nonexistent.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/crate-nonexistent.stderr (renamed from src/test/rustdoc-ui/intra-doc/crate-nonexistent.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/disambiguator-mismatch.rs (renamed from src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr (renamed from src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/double-anchor.rs (renamed from src/test/rustdoc-ui/intra-doc/double-anchor.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/double-anchor.stderr (renamed from src/test/rustdoc-ui/intra-doc/double-anchor.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/email-address-localhost.rs (renamed from src/test/rustdoc-ui/intra-doc/email-address-localhost.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/errors.rs (renamed from src/test/rustdoc-ui/intra-doc/errors.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/errors.stderr (renamed from src/test/rustdoc-ui/intra-doc/errors.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/extern-crate-load.rs (renamed from src/test/rustdoc-ui/intra-doc/extern-crate-load.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs (renamed from src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr (renamed from src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/field-ice.rs (renamed from src/test/rustdoc-ui/intra-doc/field-ice.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/field-ice.stderr (renamed from src/test/rustdoc-ui/intra-doc/field-ice.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/global-path.rs (renamed from src/test/rustdoc-ui/intra-doc/global-path.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/global-path.stderr (renamed from src/test/rustdoc-ui/intra-doc/global-path.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs (renamed from src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr (renamed from src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs (renamed from src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr (renamed from src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/macro-rules-error.rs (renamed from src/test/rustdoc-ui/intra-doc/macro-rules-error.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/macro-rules-error.stderr (renamed from src/test/rustdoc-ui/intra-doc/macro-rules-error.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/macro-rules.rs (renamed from src/test/rustdoc-ui/intra-doc/macro-rules.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/malformed-generics.rs (renamed from src/test/rustdoc-ui/intra-doc/malformed-generics.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/malformed-generics.stderr (renamed from src/test/rustdoc-ui/intra-doc/malformed-generics.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/non-path-primitives.rs (renamed from src/test/rustdoc-ui/intra-doc/non-path-primitives.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/non-path-primitives.stderr (renamed from src/test/rustdoc-ui/intra-doc/non-path-primitives.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs (renamed from src/test/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/prim-conflict.rs (renamed from src/test/rustdoc-ui/intra-doc/prim-conflict.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/prim-conflict.stderr (renamed from src/test/rustdoc-ui/intra-doc/prim-conflict.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/private-from-crate-level.rs (renamed from src/test/rustdoc-ui/intra-doc/private-from-crate-level.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/private-from-crate-level.stderr (renamed from src/test/rustdoc-ui/intra-doc/private-from-crate-level.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/private.private.stderr (renamed from src/test/rustdoc-ui/intra-doc/private.private.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/private.public.stderr (renamed from src/test/rustdoc-ui/intra-doc/private.public.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/private.rs (renamed from src/test/rustdoc-ui/intra-doc/private.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/span-ice-55723.rs (renamed from src/test/rustdoc-ui/intra-doc/span-ice-55723.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/span-ice-55723.stderr (renamed from src/test/rustdoc-ui/intra-doc/span-ice-55723.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/through-proc-macro.rs (renamed from src/test/rustdoc-ui/intra-doc/through-proc-macro.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/through-proc-macro.stderr (renamed from src/test/rustdoc-ui/intra-doc/through-proc-macro.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unknown-disambiguator.rs (renamed from src/test/rustdoc-ui/intra-doc/unknown-disambiguator.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unknown-disambiguator.stderr (renamed from src/test/rustdoc-ui/intra-doc/unknown-disambiguator.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unresolved-import-recovery.rs (renamed from src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr (renamed from src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unused-extern-crate.rs (renamed from src/test/rustdoc-ui/intra-doc/unused-extern-crate.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/unused-extern-crate.stderr (renamed from src/test/rustdoc-ui/intra-doc/unused-extern-crate.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/warning-crlf.rs (renamed from src/test/rustdoc-ui/intra-doc/warning-crlf.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/warning-crlf.stderr (renamed from src/test/rustdoc-ui/intra-doc/warning-crlf.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/warning.rs (renamed from src/test/rustdoc-ui/intra-doc/warning.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/intra-doc/warning.stderr (renamed from src/test/rustdoc-ui/intra-doc/warning.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-cfg.rs (renamed from src/test/rustdoc-ui/invalid-cfg.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-cfg.stderr (renamed from src/test/rustdoc-ui/invalid-cfg.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-doc-attr.rs (renamed from src/test/rustdoc-ui/invalid-doc-attr.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-doc-attr.stderr (renamed from src/test/rustdoc-ui/invalid-doc-attr.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-html-self-closing-tag.rs (renamed from src/test/rustdoc-ui/invalid-html-self-closing-tag.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-html-self-closing-tag.stderr (renamed from src/test/rustdoc-ui/invalid-html-self-closing-tag.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-html-tags.rs (renamed from src/test/rustdoc-ui/invalid-html-tags.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-html-tags.stderr (renamed from src/test/rustdoc-ui/invalid-html-tags.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-keyword.rs (renamed from src/test/rustdoc-ui/invalid-keyword.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-keyword.stderr (renamed from src/test/rustdoc-ui/invalid-keyword.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-syntax.rs (renamed from src/test/rustdoc-ui/invalid-syntax.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-syntax.stderr (renamed from src/test/rustdoc-ui/invalid-syntax.stderr) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-theme-name.rs (renamed from src/test/rustdoc-ui/invalid-theme-name.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/invalid-theme-name.stderr (renamed from src/test/rustdoc-ui/invalid-theme-name.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-101076.rs (renamed from src/test/rustdoc-ui/issue-101076.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-102986.rs (renamed from src/test/rustdoc-ui/issue-102986.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-102986.stderr (renamed from src/test/rustdoc-ui/issue-102986.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-103997.rs (renamed from src/test/rustdoc-ui/issue-103997.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-103997.stderr (renamed from src/test/rustdoc-ui/issue-103997.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105334.rs | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105334.stderr | 9 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105737.rs | 4 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105737.stderr | 12 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105742.rs | 40 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-105742.stderr | 385 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-106213.rs | 7 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-106213.stderr | 9 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-106226.rs | 3 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-106226.stderr | 9 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-58473-2.rs (renamed from src/test/rustdoc-ui/issue-58473-2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-58473.rs (renamed from src/test/rustdoc-ui/issue-58473.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61592-2.rs (renamed from src/test/rustdoc-ui/issue-61592-2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61592-2.stderr (renamed from src/test/rustdoc-ui/issue-61592-2.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61592.rs (renamed from src/test/rustdoc-ui/issue-61592.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61592.stderr (renamed from src/test/rustdoc-ui/issue-61592.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61732.rs (renamed from src/test/rustdoc-ui/issue-61732.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-61732.stderr (renamed from src/test/rustdoc-ui/issue-61732.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-74134.private.stderr (renamed from src/test/rustdoc-ui/issue-74134.private.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-74134.public.stderr (renamed from src/test/rustdoc-ui/issue-74134.public.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-74134.rs (renamed from src/test/rustdoc-ui/issue-74134.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79465.rs (renamed from src/test/rustdoc-ui/issue-79465.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79465.stderr (renamed from src/test/rustdoc-ui/issue-79465.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79467.rs (renamed from src/test/rustdoc-ui/issue-79467.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79467.stderr (renamed from src/test/rustdoc-ui/issue-79467.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79494.rs (renamed from src/test/rustdoc-ui/issue-79494.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-79494.stderr (renamed from src/test/rustdoc-ui/issue-79494.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-80992.rs (renamed from src/test/rustdoc-ui/issue-80992.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-80992.stdout (renamed from src/test/rustdoc-ui/issue-80992.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-81662-shortness.rs (renamed from src/test/rustdoc-ui/issue-81662-shortness.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-81662-shortness.stdout (renamed from src/test/rustdoc-ui/issue-81662-shortness.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-83883-describe-lints.rs (renamed from src/test/rustdoc-ui/issue-83883-describe-lints.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-83883-describe-lints.stdout (renamed from src/test/rustdoc-ui/issue-83883-describe-lints.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-91134.rs (renamed from src/test/rustdoc-ui/issue-91134.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-91134.stdout (renamed from src/test/rustdoc-ui/issue-91134.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-91713.rs (renamed from src/test/rustdoc-ui/issue-91713.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-91713.stderr (renamed from src/test/rustdoc-ui/issue-91713.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-91713.stdout (renamed from src/test/rustdoc-ui/issue-91713.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-96287.rs | 17 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-96287.stderr | 15 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-98690.rs (renamed from src/test/rustdoc-ui/issue-98690.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/issue-98690.stderr (renamed from src/test/rustdoc-ui/issue-98690.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/lint-group.rs (renamed from src/test/rustdoc-ui/lint-group.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/lint-group.stderr (renamed from src/test/rustdoc-ui/lint-group.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/lint-missing-doc-code-example.rs (renamed from src/test/rustdoc-ui/lint-missing-doc-code-example.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/lint-missing-doc-code-example.stderr (renamed from src/test/rustdoc-ui/lint-missing-doc-code-example.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/macro-docs.rs (renamed from src/test/rustdoc-ui/macro-docs.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/macro-docs.stderr (renamed from src/test/rustdoc-ui/macro-docs.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/macro-docs.stdout (renamed from src/test/rustdoc-ui/macro-docs.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-crate-level-doc-lint.rs (renamed from src/test/rustdoc-ui/no-crate-level-doc-lint.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-crate-level-doc-lint.stderr (renamed from src/test/rustdoc-ui/no-crate-level-doc-lint.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-run-flag-error.rs (renamed from src/test/rustdoc-ui/no-run-flag-error.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-run-flag-error.stderr (renamed from src/test/rustdoc-ui/no-run-flag-error.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-run-flag.rs (renamed from src/test/rustdoc-ui/no-run-flag.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/no-run-flag.stdout (renamed from src/test/rustdoc-ui/no-run-flag.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture-fail.rs | 12 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture-fail.stderr (renamed from src/test/rustdoc-ui/nocapture-fail.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture-fail.stdout (renamed from src/test/rustdoc-ui/nocapture-fail.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture.rs (renamed from src/test/rustdoc-ui/nocapture.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture.stderr (renamed from src/test/rustdoc-ui/nocapture.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/nocapture.stdout (renamed from src/test/rustdoc-ui/nocapture.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/normalize-cycle.rs (renamed from src/test/rustdoc-ui/normalize-cycle.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/normalize-overflow.rs (renamed from src/test/rustdoc-ui/normalize-overflow.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/output-format-html-stable.rs (renamed from src/test/rustdoc-ui/output-format-html-stable.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/private-doc-test.rs (renamed from src/test/rustdoc-ui/private-doc-test.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/private-item-doc-test.rs (renamed from src/test/rustdoc-ui/private-item-doc-test.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/private-item-doc-test.stderr (renamed from src/test/rustdoc-ui/private-item-doc-test.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/private-public-item-doc-test.rs (renamed from src/test/rustdoc-ui/private-public-item-doc-test.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/private-public-item-doc-test.stderr (renamed from src/test/rustdoc-ui/private-public-item-doc-test.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/pub-export-lint.rs (renamed from src/test/rustdoc-ui/pub-export-lint.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/pub-export-lint.stderr (renamed from src/test/rustdoc-ui/pub-export-lint.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/public-reexported-item-doc-test.rs (renamed from src/test/rustdoc-ui/public-reexported-item-doc-test.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/range-pattern.rs (renamed from src/test/rustdoc-ui/range-pattern.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/recursive-deref-ice.rs (renamed from src/test/rustdoc-ui/recursive-deref-ice.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/reference-link-reports-error-once.rs (renamed from src/test/rustdoc-ui/reference-link-reports-error-once.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/reference-link-reports-error-once.stderr (renamed from src/test/rustdoc-ui/reference-link-reports-error-once.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/reference-links.rs (renamed from src/test/rustdoc-ui/reference-links.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/reference-links.stderr (renamed from src/test/rustdoc-ui/reference-links.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/renamed-lint-still-applies.rs (renamed from src/test/rustdoc-ui/renamed-lint-still-applies.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/renamed-lint-still-applies.stderr (renamed from src/test/rustdoc-ui/renamed-lint-still-applies.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/run-directory.correct.stdout (renamed from src/test/rustdoc-ui/run-directory.correct.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/run-directory.incorrect.stdout (renamed from src/test/rustdoc-ui/run-directory.incorrect.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/run-directory.rs (renamed from src/test/rustdoc-ui/run-directory.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/rustc-check-passes.rs (renamed from src/test/rustdoc-ui/rustc-check-passes.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/rustc-check-passes.stderr (renamed from src/test/rustdoc-ui/rustc-check-passes.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-fail-if-type-error.rs (renamed from src/test/rustdoc-ui/scrape-examples-fail-if-type-error.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-fail-if-type-error.stderr (renamed from src/test/rustdoc-ui/scrape-examples-fail-if-type-error.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-ice.rs (renamed from src/test/rustdoc-ui/scrape-examples-ice.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-wrong-options-1.rs (renamed from src/test/rustdoc-ui/scrape-examples-wrong-options-1.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-wrong-options-1.stderr (renamed from src/test/rustdoc-ui/scrape-examples-wrong-options-1.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-wrong-options-2.rs (renamed from src/test/rustdoc-ui/scrape-examples-wrong-options-2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/scrape-examples-wrong-options-2.stderr (renamed from src/test/rustdoc-ui/scrape-examples-wrong-options-2.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs (renamed from src/test/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs (renamed from src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr (renamed from src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/suggestions/html-as-generics.fixed (renamed from src/test/rustdoc-ui/suggestions/html-as-generics.fixed) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/suggestions/html-as-generics.rs (renamed from src/test/rustdoc-ui/suggestions/html-as-generics.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/suggestions/html-as-generics.stderr (renamed from src/test/rustdoc-ui/suggestions/html-as-generics.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail1.rs (renamed from src/test/rustdoc-ui/test-compile-fail1.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail1.stderr (renamed from src/test/rustdoc-ui/test-compile-fail1.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail2.rs (renamed from src/test/rustdoc-ui/test-compile-fail2.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail2.stderr (renamed from src/test/rustdoc-ui/test-compile-fail2.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail3.rs (renamed from src/test/rustdoc-ui/test-compile-fail3.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-compile-fail3.stderr (renamed from src/test/rustdoc-ui/test-compile-fail3.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-no_std.rs (renamed from src/test/rustdoc-ui/test-no_std.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-no_std.stdout (renamed from src/test/rustdoc-ui/test-no_std.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-type.rs (renamed from src/test/rustdoc-ui/test-type.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/test-type.stdout (renamed from src/test/rustdoc-ui/test-type.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/track-diagnostics.rs (renamed from src/test/rustdoc-ui/track-diagnostics.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/track-diagnostics.stderr (renamed from src/test/rustdoc-ui/track-diagnostics.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/tuple-variadic-check.rs (renamed from src/test/rustdoc-ui/tuple-variadic-check.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/tuple-variadic-check.stderr (renamed from src/test/rustdoc-ui/tuple-variadic-check.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unable-fulfill-trait.rs | 13 | ||||
-rw-r--r-- | tests/rustdoc-ui/unable-fulfill-trait.stderr | 26 | ||||
-rw-r--r-- | tests/rustdoc-ui/unknown-renamed-lints.rs (renamed from src/test/rustdoc-ui/unknown-renamed-lints.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unknown-renamed-lints.stderr (renamed from src/test/rustdoc-ui/unknown-renamed-lints.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unparseable-doc-test.rs (renamed from src/test/rustdoc-ui/unparseable-doc-test.rs) | 2 | ||||
-rw-r--r-- | tests/rustdoc-ui/unparseable-doc-test.stdout (renamed from src/test/rustdoc-ui/unparseable-doc-test.stdout) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unused-braces-lint.rs (renamed from src/test/rustdoc-ui/unused-braces-lint.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unused-extern-crate.rs (renamed from src/test/rustdoc-ui/unused-extern-crate.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/unused.rs (renamed from src/test/rustdoc-ui/unused.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/use_both_out_dir_and_output_options.rs (renamed from src/test/rustdoc-ui/use_both_out_dir_and_output_options.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/use_both_out_dir_and_output_options.stderr (renamed from src/test/rustdoc-ui/use_both_out_dir_and_output_options.stderr) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/wasm-safe.rs (renamed from src/test/rustdoc-ui/wasm-safe.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/z-help.rs (renamed from src/test/rustdoc-ui/z-help.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-ui/z-help.stdout (renamed from src/test/rustdoc-ui/z-help.stdout) | 8 |
380 files changed, 612 insertions, 35 deletions
diff --git a/src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.rs b/tests/rustdoc-ui/ambiguous-inherent-assoc-ty.rs index 94ea0e93b..94ea0e93b 100644 --- a/src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.rs +++ b/tests/rustdoc-ui/ambiguous-inherent-assoc-ty.rs diff --git a/src/test/rustdoc-ui/assoc-item-not-in-scope.rs b/tests/rustdoc-ui/assoc-item-not-in-scope.rs index 0976515f4..0976515f4 100644 --- a/src/test/rustdoc-ui/assoc-item-not-in-scope.rs +++ b/tests/rustdoc-ui/assoc-item-not-in-scope.rs diff --git a/src/test/rustdoc-ui/assoc-item-not-in-scope.stderr b/tests/rustdoc-ui/assoc-item-not-in-scope.stderr index 04594ad41..04594ad41 100644 --- a/src/test/rustdoc-ui/assoc-item-not-in-scope.stderr +++ b/tests/rustdoc-ui/assoc-item-not-in-scope.stderr diff --git a/src/test/rustdoc-ui/auxiliary/empty-fn.rs b/tests/rustdoc-ui/auxiliary/empty-fn.rs index 877810f15..877810f15 100644 --- a/src/test/rustdoc-ui/auxiliary/empty-fn.rs +++ b/tests/rustdoc-ui/auxiliary/empty-fn.rs diff --git a/src/test/rustdoc-ui/auxiliary/extern_macros.rs b/tests/rustdoc-ui/auxiliary/extern_macros.rs index ee1fec4c5..ee1fec4c5 100644 --- a/src/test/rustdoc-ui/auxiliary/extern_macros.rs +++ b/tests/rustdoc-ui/auxiliary/extern_macros.rs diff --git a/src/test/rustdoc-ui/auxiliary/issue-61592.rs b/tests/rustdoc-ui/auxiliary/issue-61592.rs index 57a365b3f..57a365b3f 100644 --- a/src/test/rustdoc-ui/auxiliary/issue-61592.rs +++ b/tests/rustdoc-ui/auxiliary/issue-61592.rs diff --git a/src/test/rustdoc-ui/auxiliary/module_macro_doc.rs b/tests/rustdoc-ui/auxiliary/module_macro_doc.rs index 9d6b52b95..9d6b52b95 100644 --- a/src/test/rustdoc-ui/auxiliary/module_macro_doc.rs +++ b/tests/rustdoc-ui/auxiliary/module_macro_doc.rs diff --git a/src/test/rustdoc-ui/auxiliary/overflow.rs b/tests/rustdoc-ui/auxiliary/overflow.rs index ff65936be..ff65936be 100644 --- a/src/test/rustdoc-ui/auxiliary/overflow.rs +++ b/tests/rustdoc-ui/auxiliary/overflow.rs diff --git a/src/test/rustdoc-ui/auxiliary/panic-item.rs b/tests/rustdoc-ui/auxiliary/panic-item.rs index 17b26850d..17b26850d 100644 --- a/src/test/rustdoc-ui/auxiliary/panic-item.rs +++ b/tests/rustdoc-ui/auxiliary/panic-item.rs diff --git a/src/test/rustdoc-ui/bare-urls.fixed b/tests/rustdoc-ui/bare-urls.fixed index 23aa5c44c..23aa5c44c 100644 --- a/src/test/rustdoc-ui/bare-urls.fixed +++ b/tests/rustdoc-ui/bare-urls.fixed diff --git a/src/test/rustdoc-ui/bare-urls.rs b/tests/rustdoc-ui/bare-urls.rs index 592f57343..592f57343 100644 --- a/src/test/rustdoc-ui/bare-urls.rs +++ b/tests/rustdoc-ui/bare-urls.rs diff --git a/src/test/rustdoc-ui/bare-urls.stderr b/tests/rustdoc-ui/bare-urls.stderr index ccf52cd0b..ccf52cd0b 100644 --- a/src/test/rustdoc-ui/bare-urls.stderr +++ b/tests/rustdoc-ui/bare-urls.stderr diff --git a/src/test/rustdoc-ui/block-doc-comment.rs b/tests/rustdoc-ui/block-doc-comment.rs index ce529916e..ce529916e 100644 --- a/src/test/rustdoc-ui/block-doc-comment.rs +++ b/tests/rustdoc-ui/block-doc-comment.rs diff --git a/src/test/rustdoc-ui/block-doc-comment.stdout b/tests/rustdoc-ui/block-doc-comment.stdout index 7326c0a25..7326c0a25 100644 --- a/src/test/rustdoc-ui/block-doc-comment.stdout +++ b/tests/rustdoc-ui/block-doc-comment.stdout diff --git a/src/test/rustdoc-ui/bounded-hr-lifetime.rs b/tests/rustdoc-ui/bounded-hr-lifetime.rs index b2e000b97..b2e000b97 100644 --- a/src/test/rustdoc-ui/bounded-hr-lifetime.rs +++ b/tests/rustdoc-ui/bounded-hr-lifetime.rs diff --git a/src/test/rustdoc-ui/bounded-hr-lifetime.stderr b/tests/rustdoc-ui/bounded-hr-lifetime.stderr index d8fcd6cb4..d8fcd6cb4 100644 --- a/src/test/rustdoc-ui/bounded-hr-lifetime.stderr +++ b/tests/rustdoc-ui/bounded-hr-lifetime.stderr diff --git a/src/test/rustdoc-ui/c-help.rs b/tests/rustdoc-ui/c-help.rs index e166edf8b..e166edf8b 100644 --- a/src/test/rustdoc-ui/c-help.rs +++ b/tests/rustdoc-ui/c-help.rs diff --git a/src/test/rustdoc-ui/c-help.stdout b/tests/rustdoc-ui/c-help.stdout index 75b2e2a2a..75b2e2a2a 100644 --- a/src/test/rustdoc-ui/c-help.stdout +++ b/tests/rustdoc-ui/c-help.stdout diff --git a/src/test/rustdoc-ui/cfg-test.rs b/tests/rustdoc-ui/cfg-test.rs index d4ca92585..d40b92837 100644 --- a/src/test/rustdoc-ui/cfg-test.rs +++ b/tests/rustdoc-ui/cfg-test.rs @@ -1,6 +1,6 @@ // check-pass // compile-flags:--test --test-args --test-threads=1 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // Crates like core have doctests gated on `cfg(not(test))` so we need to make diff --git a/src/test/rustdoc-ui/cfg-test.stdout b/tests/rustdoc-ui/cfg-test.stdout index 2960ff8d3..2960ff8d3 100644 --- a/src/test/rustdoc-ui/cfg-test.stdout +++ b/tests/rustdoc-ui/cfg-test.stdout diff --git a/src/test/rustdoc-ui/check-attr-test.rs b/tests/rustdoc-ui/check-attr-test.rs index e95547014..e95547014 100644 --- a/src/test/rustdoc-ui/check-attr-test.rs +++ b/tests/rustdoc-ui/check-attr-test.rs diff --git a/src/test/rustdoc-ui/check-attr-test.stderr b/tests/rustdoc-ui/check-attr-test.stderr index 01beba1ff..01beba1ff 100644 --- a/src/test/rustdoc-ui/check-attr-test.stderr +++ b/tests/rustdoc-ui/check-attr-test.stderr diff --git a/src/test/rustdoc-ui/check-attr.rs b/tests/rustdoc-ui/check-attr.rs index 0b3f7bedd..0b3f7bedd 100644 --- a/src/test/rustdoc-ui/check-attr.rs +++ b/tests/rustdoc-ui/check-attr.rs diff --git a/src/test/rustdoc-ui/check-attr.stderr b/tests/rustdoc-ui/check-attr.stderr index f66e63ab7..f66e63ab7 100644 --- a/src/test/rustdoc-ui/check-attr.stderr +++ b/tests/rustdoc-ui/check-attr.stderr diff --git a/tests/rustdoc-ui/check-cfg-test.rs b/tests/rustdoc-ui/check-cfg-test.rs new file mode 100644 index 000000000..920432276 --- /dev/null +++ b/tests/rustdoc-ui/check-cfg-test.rs @@ -0,0 +1,12 @@ +// check-pass +// compile-flags: --test --nocapture --check-cfg=values(feature,"test") -Z unstable-options +// normalize-stderr-test: "tests/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" + +/// The doctest will produce a warning because feature invalid is unexpected +/// ``` +/// #[cfg(feature = "invalid")] +/// assert!(false); +/// ``` +pub struct Foo; diff --git a/src/test/rustdoc-ui/check-cfg-test.stderr b/tests/rustdoc-ui/check-cfg-test.stderr index 9770be2f1..9770be2f1 100644 --- a/src/test/rustdoc-ui/check-cfg-test.stderr +++ b/tests/rustdoc-ui/check-cfg-test.stderr diff --git a/src/test/rustdoc-ui/check-cfg-test.stdout b/tests/rustdoc-ui/check-cfg-test.stdout index b7db49bcf..b7db49bcf 100644 --- a/src/test/rustdoc-ui/check-cfg-test.stdout +++ b/tests/rustdoc-ui/check-cfg-test.stdout diff --git a/src/test/rustdoc-ui/check-cfg-unstable.rs b/tests/rustdoc-ui/check-cfg-unstable.rs index 5c500ce6c..5c500ce6c 100644 --- a/src/test/rustdoc-ui/check-cfg-unstable.rs +++ b/tests/rustdoc-ui/check-cfg-unstable.rs diff --git a/src/test/rustdoc-ui/check-cfg-unstable.stderr b/tests/rustdoc-ui/check-cfg-unstable.stderr index 9b27c2bc0..9b27c2bc0 100644 --- a/src/test/rustdoc-ui/check-cfg-unstable.stderr +++ b/tests/rustdoc-ui/check-cfg-unstable.stderr diff --git a/src/test/rustdoc-ui/check-cfg.rs b/tests/rustdoc-ui/check-cfg.rs index fa8789ad3..fa8789ad3 100644 --- a/src/test/rustdoc-ui/check-cfg.rs +++ b/tests/rustdoc-ui/check-cfg.rs diff --git a/src/test/rustdoc-ui/check-cfg.stderr b/tests/rustdoc-ui/check-cfg.stderr index 1db8e1d91..1db8e1d91 100644 --- a/src/test/rustdoc-ui/check-cfg.stderr +++ b/tests/rustdoc-ui/check-cfg.stderr diff --git a/src/test/rustdoc-ui/check-doc-alias-attr-location.rs b/tests/rustdoc-ui/check-doc-alias-attr-location.rs index 6de1960e2..6de1960e2 100644 --- a/src/test/rustdoc-ui/check-doc-alias-attr-location.rs +++ b/tests/rustdoc-ui/check-doc-alias-attr-location.rs diff --git a/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr b/tests/rustdoc-ui/check-doc-alias-attr-location.stderr index 85c951623..85c951623 100644 --- a/src/test/rustdoc-ui/check-doc-alias-attr-location.stderr +++ b/tests/rustdoc-ui/check-doc-alias-attr-location.stderr diff --git a/src/test/rustdoc-ui/check-doc-alias-attr.rs b/tests/rustdoc-ui/check-doc-alias-attr.rs index 719b98604..719b98604 100644 --- a/src/test/rustdoc-ui/check-doc-alias-attr.rs +++ b/tests/rustdoc-ui/check-doc-alias-attr.rs diff --git a/src/test/rustdoc-ui/check-doc-alias-attr.stderr b/tests/rustdoc-ui/check-doc-alias-attr.stderr index 250568be3..250568be3 100644 --- a/src/test/rustdoc-ui/check-doc-alias-attr.stderr +++ b/tests/rustdoc-ui/check-doc-alias-attr.stderr diff --git a/src/test/rustdoc-ui/check-fail.rs b/tests/rustdoc-ui/check-fail.rs index c5e1759ee..c5e1759ee 100644 --- a/src/test/rustdoc-ui/check-fail.rs +++ b/tests/rustdoc-ui/check-fail.rs diff --git a/src/test/rustdoc-ui/check-fail.stderr b/tests/rustdoc-ui/check-fail.stderr index d8aeccbfc..d8aeccbfc 100644 --- a/src/test/rustdoc-ui/check-fail.stderr +++ b/tests/rustdoc-ui/check-fail.stderr diff --git a/src/test/rustdoc-ui/check.rs b/tests/rustdoc-ui/check.rs index f70b03361..f70b03361 100644 --- a/src/test/rustdoc-ui/check.rs +++ b/tests/rustdoc-ui/check.rs diff --git a/src/test/rustdoc-ui/check.stderr b/tests/rustdoc-ui/check.stderr index d379f33f2..d379f33f2 100644 --- a/src/test/rustdoc-ui/check.stderr +++ b/tests/rustdoc-ui/check.stderr diff --git a/src/test/rustdoc-ui/commandline-argfile-badutf8.args b/tests/rustdoc-ui/commandline-argfile-badutf8.args index c070b0c24..c070b0c24 100644 --- a/src/test/rustdoc-ui/commandline-argfile-badutf8.args +++ b/tests/rustdoc-ui/commandline-argfile-badutf8.args diff --git a/src/test/rustdoc-ui/commandline-argfile-badutf8.rs b/tests/rustdoc-ui/commandline-argfile-badutf8.rs index e2984e3ca..e2984e3ca 100644 --- a/src/test/rustdoc-ui/commandline-argfile-badutf8.rs +++ b/tests/rustdoc-ui/commandline-argfile-badutf8.rs diff --git a/src/test/rustdoc-ui/commandline-argfile-badutf8.stderr b/tests/rustdoc-ui/commandline-argfile-badutf8.stderr index 9af6fc0a5..9af6fc0a5 100644 --- a/src/test/rustdoc-ui/commandline-argfile-badutf8.stderr +++ b/tests/rustdoc-ui/commandline-argfile-badutf8.stderr diff --git a/src/test/rustdoc-ui/commandline-argfile-missing.rs b/tests/rustdoc-ui/commandline-argfile-missing.rs index 5a6465bd0..5a6465bd0 100644 --- a/src/test/rustdoc-ui/commandline-argfile-missing.rs +++ b/tests/rustdoc-ui/commandline-argfile-missing.rs diff --git a/src/test/rustdoc-ui/commandline-argfile-missing.stderr b/tests/rustdoc-ui/commandline-argfile-missing.stderr index 179ad8310..179ad8310 100644 --- a/src/test/rustdoc-ui/commandline-argfile-missing.stderr +++ b/tests/rustdoc-ui/commandline-argfile-missing.stderr diff --git a/src/test/rustdoc-ui/commandline-argfile.args b/tests/rustdoc-ui/commandline-argfile.args index 972938bf6..972938bf6 100644 --- a/src/test/rustdoc-ui/commandline-argfile.args +++ b/tests/rustdoc-ui/commandline-argfile.args diff --git a/src/test/rustdoc-ui/commandline-argfile.rs b/tests/rustdoc-ui/commandline-argfile.rs index cc8c8722c..cc8c8722c 100644 --- a/src/test/rustdoc-ui/commandline-argfile.rs +++ b/tests/rustdoc-ui/commandline-argfile.rs diff --git a/src/test/rustdoc-ui/const-evalutation-ice.rs b/tests/rustdoc-ui/const-evalutation-ice.rs index 0dd3bcaa2..0dd3bcaa2 100644 --- a/src/test/rustdoc-ui/const-evalutation-ice.rs +++ b/tests/rustdoc-ui/const-evalutation-ice.rs diff --git a/src/test/rustdoc-ui/const-evalutation-ice.stderr b/tests/rustdoc-ui/const-evalutation-ice.stderr index 5d9c16c07..5d9c16c07 100644 --- a/src/test/rustdoc-ui/const-evalutation-ice.stderr +++ b/tests/rustdoc-ui/const-evalutation-ice.stderr diff --git a/src/test/rustdoc-ui/coverage/allow_missing_docs.rs b/tests/rustdoc-ui/coverage/allow_missing_docs.rs index c771c09da..c771c09da 100644 --- a/src/test/rustdoc-ui/coverage/allow_missing_docs.rs +++ b/tests/rustdoc-ui/coverage/allow_missing_docs.rs diff --git a/src/test/rustdoc-ui/coverage/allow_missing_docs.stderr b/tests/rustdoc-ui/coverage/allow_missing_docs.stderr index 3d5b512d1..3d5b512d1 100644 --- a/src/test/rustdoc-ui/coverage/allow_missing_docs.stderr +++ b/tests/rustdoc-ui/coverage/allow_missing_docs.stderr diff --git a/src/test/rustdoc-ui/coverage/allow_missing_docs.stdout b/tests/rustdoc-ui/coverage/allow_missing_docs.stdout index 17e8ee9e2..17e8ee9e2 100644 --- a/src/test/rustdoc-ui/coverage/allow_missing_docs.stdout +++ b/tests/rustdoc-ui/coverage/allow_missing_docs.stdout diff --git a/src/test/rustdoc-ui/coverage/basic.rs b/tests/rustdoc-ui/coverage/basic.rs index 6c26b751c..6c26b751c 100644 --- a/src/test/rustdoc-ui/coverage/basic.rs +++ b/tests/rustdoc-ui/coverage/basic.rs diff --git a/src/test/rustdoc-ui/coverage/basic.stdout b/tests/rustdoc-ui/coverage/basic.stdout index 3c602b3da..545662f0f 100644 --- a/src/test/rustdoc-ui/coverage/basic.stdout +++ b/tests/rustdoc-ui/coverage/basic.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...est/rustdoc-ui/coverage/basic.rs | 7 | 50.0% | 0 | 0.0% | +| ...sts/rustdoc-ui/coverage/basic.rs | 7 | 50.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 7 | 50.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/coverage/doc-examples-json.rs b/tests/rustdoc-ui/coverage/doc-examples-json.rs index 1da181379..1da181379 100644 --- a/src/test/rustdoc-ui/coverage/doc-examples-json.rs +++ b/tests/rustdoc-ui/coverage/doc-examples-json.rs diff --git a/src/test/rustdoc-ui/coverage/doc-examples-json.stdout b/tests/rustdoc-ui/coverage/doc-examples-json.stdout index 92f585569..92f585569 100644 --- a/src/test/rustdoc-ui/coverage/doc-examples-json.stdout +++ b/tests/rustdoc-ui/coverage/doc-examples-json.stdout diff --git a/src/test/rustdoc-ui/coverage/doc-examples.rs b/tests/rustdoc-ui/coverage/doc-examples.rs index cd718f8a3..cd718f8a3 100644 --- a/src/test/rustdoc-ui/coverage/doc-examples.rs +++ b/tests/rustdoc-ui/coverage/doc-examples.rs diff --git a/src/test/rustdoc-ui/coverage/doc-examples.stdout b/tests/rustdoc-ui/coverage/doc-examples.stdout index 8188740f8..8188740f8 100644 --- a/src/test/rustdoc-ui/coverage/doc-examples.stdout +++ b/tests/rustdoc-ui/coverage/doc-examples.stdout diff --git a/src/test/rustdoc-ui/coverage/empty.rs b/tests/rustdoc-ui/coverage/empty.rs index 55a87e9d9..55a87e9d9 100644 --- a/src/test/rustdoc-ui/coverage/empty.rs +++ b/tests/rustdoc-ui/coverage/empty.rs diff --git a/src/test/rustdoc-ui/coverage/empty.stdout b/tests/rustdoc-ui/coverage/empty.stdout index 890a7d56e..d48682528 100644 --- a/src/test/rustdoc-ui/coverage/empty.stdout +++ b/tests/rustdoc-ui/coverage/empty.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...est/rustdoc-ui/coverage/empty.rs | 0 | 0.0% | 0 | 0.0% | +| ...sts/rustdoc-ui/coverage/empty.rs | 0 | 0.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 0 | 0.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/coverage/enum-tuple-documented.rs b/tests/rustdoc-ui/coverage/enum-tuple-documented.rs index e9c165b19..e9c165b19 100644 --- a/src/test/rustdoc-ui/coverage/enum-tuple-documented.rs +++ b/tests/rustdoc-ui/coverage/enum-tuple-documented.rs diff --git a/src/test/rustdoc-ui/coverage/enum-tuple-documented.stdout b/tests/rustdoc-ui/coverage/enum-tuple-documented.stdout index 82c98f43f..82c98f43f 100644 --- a/src/test/rustdoc-ui/coverage/enum-tuple-documented.stdout +++ b/tests/rustdoc-ui/coverage/enum-tuple-documented.stdout diff --git a/src/test/rustdoc-ui/coverage/enum-tuple.rs b/tests/rustdoc-ui/coverage/enum-tuple.rs index 5fb205450..5fb205450 100644 --- a/src/test/rustdoc-ui/coverage/enum-tuple.rs +++ b/tests/rustdoc-ui/coverage/enum-tuple.rs diff --git a/src/test/rustdoc-ui/coverage/enum-tuple.stdout b/tests/rustdoc-ui/coverage/enum-tuple.stdout index a3377d59c..a3377d59c 100644 --- a/src/test/rustdoc-ui/coverage/enum-tuple.stdout +++ b/tests/rustdoc-ui/coverage/enum-tuple.stdout diff --git a/src/test/rustdoc-ui/coverage/enums.rs b/tests/rustdoc-ui/coverage/enums.rs index a4ae36d68..a4ae36d68 100644 --- a/src/test/rustdoc-ui/coverage/enums.rs +++ b/tests/rustdoc-ui/coverage/enums.rs diff --git a/src/test/rustdoc-ui/coverage/enums.stdout b/tests/rustdoc-ui/coverage/enums.stdout index 64c012c1f..bb224aac8 100644 --- a/src/test/rustdoc-ui/coverage/enums.stdout +++ b/tests/rustdoc-ui/coverage/enums.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...est/rustdoc-ui/coverage/enums.rs | 6 | 75.0% | 0 | 0.0% | +| ...sts/rustdoc-ui/coverage/enums.rs | 6 | 75.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 6 | 75.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/coverage/exotic.rs b/tests/rustdoc-ui/coverage/exotic.rs index 72b70d698..72b70d698 100644 --- a/src/test/rustdoc-ui/coverage/exotic.rs +++ b/tests/rustdoc-ui/coverage/exotic.rs diff --git a/src/test/rustdoc-ui/coverage/exotic.stdout b/tests/rustdoc-ui/coverage/exotic.stdout index 27798b813..bd894898c 100644 --- a/src/test/rustdoc-ui/coverage/exotic.stdout +++ b/tests/rustdoc-ui/coverage/exotic.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...st/rustdoc-ui/coverage/exotic.rs | 3 | 100.0% | 0 | 0.0% | +| ...ts/rustdoc-ui/coverage/exotic.rs | 3 | 100.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 3 | 100.0% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/coverage/html.rs b/tests/rustdoc-ui/coverage/html.rs index 181cb4c50..181cb4c50 100644 --- a/src/test/rustdoc-ui/coverage/html.rs +++ b/tests/rustdoc-ui/coverage/html.rs diff --git a/src/test/rustdoc-ui/coverage/html.stderr b/tests/rustdoc-ui/coverage/html.stderr index adca375d4..adca375d4 100644 --- a/src/test/rustdoc-ui/coverage/html.stderr +++ b/tests/rustdoc-ui/coverage/html.stderr diff --git a/src/test/rustdoc-ui/coverage/json.rs b/tests/rustdoc-ui/coverage/json.rs index a591cd5db..a591cd5db 100644 --- a/src/test/rustdoc-ui/coverage/json.rs +++ b/tests/rustdoc-ui/coverage/json.rs diff --git a/src/test/rustdoc-ui/coverage/json.stdout b/tests/rustdoc-ui/coverage/json.stdout index c2be73ce3..c2be73ce3 100644 --- a/src/test/rustdoc-ui/coverage/json.stdout +++ b/tests/rustdoc-ui/coverage/json.stdout diff --git a/src/test/rustdoc-ui/coverage/private.rs b/tests/rustdoc-ui/coverage/private.rs index 2a0271727..2a0271727 100644 --- a/src/test/rustdoc-ui/coverage/private.rs +++ b/tests/rustdoc-ui/coverage/private.rs diff --git a/src/test/rustdoc-ui/coverage/private.stdout b/tests/rustdoc-ui/coverage/private.stdout index 37a0f5187..b9981c7c5 100644 --- a/src/test/rustdoc-ui/coverage/private.stdout +++ b/tests/rustdoc-ui/coverage/private.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...t/rustdoc-ui/coverage/private.rs | 4 | 57.1% | 0 | 0.0% | +| ...s/rustdoc-ui/coverage/private.rs | 4 | 57.1% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 4 | 57.1% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/coverage/statics-consts.rs b/tests/rustdoc-ui/coverage/statics-consts.rs index 5a35260fa..5a35260fa 100644 --- a/src/test/rustdoc-ui/coverage/statics-consts.rs +++ b/tests/rustdoc-ui/coverage/statics-consts.rs diff --git a/src/test/rustdoc-ui/coverage/statics-consts.stdout b/tests/rustdoc-ui/coverage/statics-consts.stdout index dbea3a3ea..dbea3a3ea 100644 --- a/src/test/rustdoc-ui/coverage/statics-consts.stdout +++ b/tests/rustdoc-ui/coverage/statics-consts.stdout diff --git a/src/test/rustdoc-ui/coverage/traits.rs b/tests/rustdoc-ui/coverage/traits.rs index daa08ec25..daa08ec25 100644 --- a/src/test/rustdoc-ui/coverage/traits.rs +++ b/tests/rustdoc-ui/coverage/traits.rs diff --git a/src/test/rustdoc-ui/coverage/traits.stdout b/tests/rustdoc-ui/coverage/traits.stdout index 5053d0209..0c7857cf2 100644 --- a/src/test/rustdoc-ui/coverage/traits.stdout +++ b/tests/rustdoc-ui/coverage/traits.stdout @@ -1,7 +1,7 @@ +-------------------------------------+------------+------------+------------+------------+ | File | Documented | Percentage | Examples | Percentage | +-------------------------------------+------------+------------+------------+------------+ -| ...st/rustdoc-ui/coverage/traits.rs | 8 | 88.9% | 0 | 0.0% | +| ...ts/rustdoc-ui/coverage/traits.rs | 8 | 88.9% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ | Total | 8 | 88.9% | 0 | 0.0% | +-------------------------------------+------------+------------+------------+------------+ diff --git a/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs b/tests/rustdoc-ui/deny-intra-link-resolution-failure.rs index 09da124b1..09da124b1 100644 --- a/src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs +++ b/tests/rustdoc-ui/deny-intra-link-resolution-failure.rs diff --git a/src/test/rustdoc-ui/deny-intra-link-resolution-failure.stderr b/tests/rustdoc-ui/deny-intra-link-resolution-failure.stderr index 3e08354a6..3e08354a6 100644 --- a/src/test/rustdoc-ui/deny-intra-link-resolution-failure.stderr +++ b/tests/rustdoc-ui/deny-intra-link-resolution-failure.stderr diff --git a/src/test/rustdoc-ui/deny-missing-docs-crate.rs b/tests/rustdoc-ui/deny-missing-docs-crate.rs index b74eba3f6..b74eba3f6 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-crate.rs +++ b/tests/rustdoc-ui/deny-missing-docs-crate.rs diff --git a/src/test/rustdoc-ui/deny-missing-docs-crate.stderr b/tests/rustdoc-ui/deny-missing-docs-crate.stderr index 5025b0b0c..5025b0b0c 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-crate.stderr +++ b/tests/rustdoc-ui/deny-missing-docs-crate.stderr diff --git a/src/test/rustdoc-ui/deny-missing-docs-macro.rs b/tests/rustdoc-ui/deny-missing-docs-macro.rs index b1c125317..b1c125317 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-macro.rs +++ b/tests/rustdoc-ui/deny-missing-docs-macro.rs diff --git a/src/test/rustdoc-ui/deny-missing-docs-macro.stderr b/tests/rustdoc-ui/deny-missing-docs-macro.stderr index 0867b0818..0867b0818 100644 --- a/src/test/rustdoc-ui/deny-missing-docs-macro.stderr +++ b/tests/rustdoc-ui/deny-missing-docs-macro.stderr diff --git a/src/test/rustdoc-ui/deprecated-attrs.rs b/tests/rustdoc-ui/deprecated-attrs.rs index 4f6a14fc2..4f6a14fc2 100644 --- a/src/test/rustdoc-ui/deprecated-attrs.rs +++ b/tests/rustdoc-ui/deprecated-attrs.rs diff --git a/src/test/rustdoc-ui/deprecated-attrs.stderr b/tests/rustdoc-ui/deprecated-attrs.stderr index 45b20ce70..45b20ce70 100644 --- a/src/test/rustdoc-ui/deprecated-attrs.stderr +++ b/tests/rustdoc-ui/deprecated-attrs.stderr diff --git a/src/test/rustdoc-ui/deref-generic.rs b/tests/rustdoc-ui/deref-generic.rs index bc64beb1b..bc64beb1b 100644 --- a/src/test/rustdoc-ui/deref-generic.rs +++ b/tests/rustdoc-ui/deref-generic.rs diff --git a/src/test/rustdoc-ui/diagnostic-width.rs b/tests/rustdoc-ui/diagnostic-width.rs index 290d9db77..290d9db77 100644 --- a/src/test/rustdoc-ui/diagnostic-width.rs +++ b/tests/rustdoc-ui/diagnostic-width.rs diff --git a/src/test/rustdoc-ui/diagnostic-width.stderr b/tests/rustdoc-ui/diagnostic-width.stderr index 1a00d10d3..1a00d10d3 100644 --- a/src/test/rustdoc-ui/diagnostic-width.stderr +++ b/tests/rustdoc-ui/diagnostic-width.stderr diff --git a/src/test/rustdoc-ui/display-output.rs b/tests/rustdoc-ui/display-output.rs index ec27a9f6b..23bc54e3c 100644 --- a/src/test/rustdoc-ui/display-output.rs +++ b/tests/rustdoc-ui/display-output.rs @@ -3,7 +3,7 @@ // check-pass // edition:2018 // compile-flags:--test --test-args=--show-output -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" /// ``` diff --git a/src/test/rustdoc-ui/display-output.stdout b/tests/rustdoc-ui/display-output.stdout index ad25d1ce5..ad25d1ce5 100644 --- a/src/test/rustdoc-ui/display-output.stdout +++ b/tests/rustdoc-ui/display-output.stdout diff --git a/src/test/rustdoc-ui/doc-alias-assoc-const.rs b/tests/rustdoc-ui/doc-alias-assoc-const.rs index d95324734..d95324734 100644 --- a/src/test/rustdoc-ui/doc-alias-assoc-const.rs +++ b/tests/rustdoc-ui/doc-alias-assoc-const.rs diff --git a/src/test/rustdoc-ui/doc-alias-assoc-const.stderr b/tests/rustdoc-ui/doc-alias-assoc-const.stderr index cbca40e13..cbca40e13 100644 --- a/src/test/rustdoc-ui/doc-alias-assoc-const.stderr +++ b/tests/rustdoc-ui/doc-alias-assoc-const.stderr diff --git a/src/test/rustdoc-ui/doc-alias-crate-level.rs b/tests/rustdoc-ui/doc-alias-crate-level.rs index 70618ac01..70618ac01 100644 --- a/src/test/rustdoc-ui/doc-alias-crate-level.rs +++ b/tests/rustdoc-ui/doc-alias-crate-level.rs diff --git a/src/test/rustdoc-ui/doc-alias-crate-level.stderr b/tests/rustdoc-ui/doc-alias-crate-level.stderr index fc8095e03..fc8095e03 100644 --- a/src/test/rustdoc-ui/doc-alias-crate-level.stderr +++ b/tests/rustdoc-ui/doc-alias-crate-level.stderr diff --git a/src/test/rustdoc-ui/doc-alias-same-name.rs b/tests/rustdoc-ui/doc-alias-same-name.rs index da97c2676..da97c2676 100644 --- a/src/test/rustdoc-ui/doc-alias-same-name.rs +++ b/tests/rustdoc-ui/doc-alias-same-name.rs diff --git a/src/test/rustdoc-ui/doc-alias-same-name.stderr b/tests/rustdoc-ui/doc-alias-same-name.stderr index 5ba09a2ea..5ba09a2ea 100644 --- a/src/test/rustdoc-ui/doc-alias-same-name.stderr +++ b/tests/rustdoc-ui/doc-alias-same-name.stderr diff --git a/src/test/rustdoc-ui/doc-attr.rs b/tests/rustdoc-ui/doc-attr.rs index 980d1c0e2..980d1c0e2 100644 --- a/src/test/rustdoc-ui/doc-attr.rs +++ b/tests/rustdoc-ui/doc-attr.rs diff --git a/src/test/rustdoc-ui/doc-attr.stderr b/tests/rustdoc-ui/doc-attr.stderr index 68df2771f..68df2771f 100644 --- a/src/test/rustdoc-ui/doc-attr.stderr +++ b/tests/rustdoc-ui/doc-attr.stderr diff --git a/src/test/rustdoc-ui/doc-cfg.rs b/tests/rustdoc-ui/doc-cfg.rs index 354d76bc3..354d76bc3 100644 --- a/src/test/rustdoc-ui/doc-cfg.rs +++ b/tests/rustdoc-ui/doc-cfg.rs diff --git a/src/test/rustdoc-ui/doc-cfg.stderr b/tests/rustdoc-ui/doc-cfg.stderr index b379f6feb..14b7b17e0 100644 --- a/src/test/rustdoc-ui/doc-cfg.stderr +++ b/tests/rustdoc-ui/doc-cfg.stderr @@ -2,7 +2,7 @@ error: `cfg` predicate is not specified --> $DIR/doc-cfg.rs:3:7 | LL | #[doc(cfg(), cfg(foo, bar))] - | ^^^^^ + | ^^^^^ help: expected syntax is: `cfg(/* predicate */)` error: multiple `cfg` predicates are specified --> $DIR/doc-cfg.rs:3:23 @@ -14,7 +14,7 @@ error: `cfg` predicate is not specified --> $DIR/doc-cfg.rs:7:7 | LL | #[doc(cfg())] - | ^^^^^ + | ^^^^^ help: expected syntax is: `cfg(/* predicate */)` error: multiple `cfg` predicates are specified --> $DIR/doc-cfg.rs:8:16 diff --git a/src/test/rustdoc-ui/doc-comment-multi-line-attr.rs b/tests/rustdoc-ui/doc-comment-multi-line-attr.rs index 97259f782..db674e229 100644 --- a/src/test/rustdoc-ui/doc-comment-multi-line-attr.rs +++ b/tests/rustdoc-ui/doc-comment-multi-line-attr.rs @@ -1,6 +1,6 @@ // Regression test for #97440: Multiline inner attribute triggers ICE during doctest // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // check-pass diff --git a/src/test/rustdoc-ui/doc-comment-multi-line-attr.stdout b/tests/rustdoc-ui/doc-comment-multi-line-attr.stdout index e47edbd2a..e47edbd2a 100644 --- a/src/test/rustdoc-ui/doc-comment-multi-line-attr.stdout +++ b/tests/rustdoc-ui/doc-comment-multi-line-attr.stdout diff --git a/src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs b/tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs index b2a8133c9..6ce3cb9fc 100644 --- a/src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs +++ b/tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.rs @@ -1,5 +1,5 @@ // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // check-pass diff --git a/src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout b/tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout index bf3521e4f..bf3521e4f 100644 --- a/src/test/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout +++ b/tests/rustdoc-ui/doc-comment-multi-line-cfg-attr.stdout diff --git a/src/test/rustdoc-ui/doc-include-suggestion.rs b/tests/rustdoc-ui/doc-include-suggestion.rs index 0c0100735..0c0100735 100644 --- a/src/test/rustdoc-ui/doc-include-suggestion.rs +++ b/tests/rustdoc-ui/doc-include-suggestion.rs diff --git a/src/test/rustdoc-ui/doc-include-suggestion.stderr b/tests/rustdoc-ui/doc-include-suggestion.stderr index fcc93d053..fcc93d053 100644 --- a/src/test/rustdoc-ui/doc-include-suggestion.stderr +++ b/tests/rustdoc-ui/doc-include-suggestion.stderr diff --git a/src/test/rustdoc-ui/doc-spotlight.fixed b/tests/rustdoc-ui/doc-spotlight.fixed index 4b58778ea..4b58778ea 100644 --- a/src/test/rustdoc-ui/doc-spotlight.fixed +++ b/tests/rustdoc-ui/doc-spotlight.fixed diff --git a/src/test/rustdoc-ui/doc-spotlight.rs b/tests/rustdoc-ui/doc-spotlight.rs index 16e387245..16e387245 100644 --- a/src/test/rustdoc-ui/doc-spotlight.rs +++ b/tests/rustdoc-ui/doc-spotlight.rs diff --git a/src/test/rustdoc-ui/doc-spotlight.stderr b/tests/rustdoc-ui/doc-spotlight.stderr index 58612327f..58612327f 100644 --- a/src/test/rustdoc-ui/doc-spotlight.stderr +++ b/tests/rustdoc-ui/doc-spotlight.stderr diff --git a/src/test/rustdoc-ui/doc-test-attr-pass.rs b/tests/rustdoc-ui/doc-test-attr-pass.rs index 12608f244..12608f244 100644 --- a/src/test/rustdoc-ui/doc-test-attr-pass.rs +++ b/tests/rustdoc-ui/doc-test-attr-pass.rs diff --git a/src/test/rustdoc-ui/doc-test-attr.rs b/tests/rustdoc-ui/doc-test-attr.rs index 46178ad86..46178ad86 100644 --- a/src/test/rustdoc-ui/doc-test-attr.rs +++ b/tests/rustdoc-ui/doc-test-attr.rs diff --git a/src/test/rustdoc-ui/doc-test-attr.stderr b/tests/rustdoc-ui/doc-test-attr.stderr index 5e6014954..5e6014954 100644 --- a/src/test/rustdoc-ui/doc-test-attr.stderr +++ b/tests/rustdoc-ui/doc-test-attr.stderr diff --git a/src/test/rustdoc-ui/doc-test-doctest-feature.rs b/tests/rustdoc-ui/doc-test-doctest-feature.rs index 0b79aaece..88cf44e64 100644 --- a/src/test/rustdoc-ui/doc-test-doctest-feature.rs +++ b/tests/rustdoc-ui/doc-test-doctest-feature.rs @@ -1,6 +1,6 @@ // check-pass // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // Make sure `cfg(doctest)` is set when finding doctests but not inside diff --git a/src/test/rustdoc-ui/doc-test-doctest-feature.stdout b/tests/rustdoc-ui/doc-test-doctest-feature.stdout index d7de1f105..d7de1f105 100644 --- a/src/test/rustdoc-ui/doc-test-doctest-feature.stdout +++ b/tests/rustdoc-ui/doc-test-doctest-feature.stdout diff --git a/src/test/rustdoc-ui/doc-test-rustdoc-feature.rs b/tests/rustdoc-ui/doc-test-rustdoc-feature.rs index bf334c67e..dc72a4857 100644 --- a/src/test/rustdoc-ui/doc-test-rustdoc-feature.rs +++ b/tests/rustdoc-ui/doc-test-rustdoc-feature.rs @@ -1,6 +1,6 @@ // check-pass // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" #![feature(doc_cfg)] diff --git a/src/test/rustdoc-ui/doc-test-rustdoc-feature.stdout b/tests/rustdoc-ui/doc-test-rustdoc-feature.stdout index 5b07fc4c8..5b07fc4c8 100644 --- a/src/test/rustdoc-ui/doc-test-rustdoc-feature.stdout +++ b/tests/rustdoc-ui/doc-test-rustdoc-feature.stdout diff --git a/src/test/rustdoc-ui/doc-without-codeblock.rs b/tests/rustdoc-ui/doc-without-codeblock.rs index 86d7c83d3..86d7c83d3 100644 --- a/src/test/rustdoc-ui/doc-without-codeblock.rs +++ b/tests/rustdoc-ui/doc-without-codeblock.rs diff --git a/src/test/rustdoc-ui/doc-without-codeblock.stderr b/tests/rustdoc-ui/doc-without-codeblock.stderr index ebf2a2d54..ebf2a2d54 100644 --- a/src/test/rustdoc-ui/doc-without-codeblock.stderr +++ b/tests/rustdoc-ui/doc-without-codeblock.stderr diff --git a/src/test/rustdoc-ui/doc_cfg_hide.rs b/tests/rustdoc-ui/doc_cfg_hide.rs index 5d8791748..5d8791748 100644 --- a/src/test/rustdoc-ui/doc_cfg_hide.rs +++ b/tests/rustdoc-ui/doc_cfg_hide.rs diff --git a/src/test/rustdoc-ui/doc_cfg_hide.stderr b/tests/rustdoc-ui/doc_cfg_hide.stderr index 03623368c..03623368c 100644 --- a/src/test/rustdoc-ui/doc_cfg_hide.stderr +++ b/tests/rustdoc-ui/doc_cfg_hide.stderr diff --git a/src/test/rustdoc-ui/doctest-edition.rs b/tests/rustdoc-ui/doctest-edition.rs index b0787be97..b0787be97 100644 --- a/src/test/rustdoc-ui/doctest-edition.rs +++ b/tests/rustdoc-ui/doctest-edition.rs diff --git a/src/test/rustdoc-ui/doctest-edition.stderr b/tests/rustdoc-ui/doctest-edition.stderr index 8a3329aa3..8a3329aa3 100644 --- a/src/test/rustdoc-ui/doctest-edition.stderr +++ b/tests/rustdoc-ui/doctest-edition.stderr diff --git a/src/test/rustdoc-ui/doctest-multiline-crate-attribute.rs b/tests/rustdoc-ui/doctest-multiline-crate-attribute.rs index a30472ac5..260f5a7a6 100644 --- a/src/test/rustdoc-ui/doctest-multiline-crate-attribute.rs +++ b/tests/rustdoc-ui/doctest-multiline-crate-attribute.rs @@ -1,5 +1,5 @@ // compile-flags:--test --test-args=--test-threads=1 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // check-pass diff --git a/src/test/rustdoc-ui/doctest-multiline-crate-attribute.stdout b/tests/rustdoc-ui/doctest-multiline-crate-attribute.stdout index 07a4f657d..07a4f657d 100644 --- a/src/test/rustdoc-ui/doctest-multiline-crate-attribute.stdout +++ b/tests/rustdoc-ui/doctest-multiline-crate-attribute.stdout diff --git a/src/test/rustdoc-ui/doctest-output.rs b/tests/rustdoc-ui/doctest-output.rs index 2670fa572..303f76896 100644 --- a/src/test/rustdoc-ui/doctest-output.rs +++ b/tests/rustdoc-ui/doctest-output.rs @@ -1,7 +1,7 @@ // edition:2018 // aux-build:extern_macros.rs // compile-flags:--test --test-args=--test-threads=1 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // check-pass diff --git a/src/test/rustdoc-ui/doctest-output.stdout b/tests/rustdoc-ui/doctest-output.stdout index 35b0e366f..35b0e366f 100644 --- a/src/test/rustdoc-ui/doctest-output.stdout +++ b/tests/rustdoc-ui/doctest-output.stdout diff --git a/src/test/rustdoc-ui/error-in-impl-trait/README.md b/tests/rustdoc-ui/error-in-impl-trait/README.md index 1176a4a8c..1176a4a8c 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/README.md +++ b/tests/rustdoc-ui/error-in-impl-trait/README.md diff --git a/src/test/rustdoc-ui/error-in-impl-trait/async.rs b/tests/rustdoc-ui/error-in-impl-trait/async.rs index cda53bff0..cda53bff0 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/async.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/async.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs b/tests/rustdoc-ui/error-in-impl-trait/closure.rs index f1fd85bb2..f1fd85bb2 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/closure.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/const-generics.rs b/tests/rustdoc-ui/error-in-impl-trait/const-generics.rs index ed62f0208..ed62f0208 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/const-generics.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/const-generics.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs b/tests/rustdoc-ui/error-in-impl-trait/generic-argument.rs index dcec379d4..dcec379d4 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/generic-argument.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs b/tests/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs index b935b0832..b935b0832 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/impl-keyword-closure.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/impl-keyword.rs b/tests/rustdoc-ui/error-in-impl-trait/impl-keyword.rs index 701126f87..701126f87 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/impl-keyword.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/impl-keyword.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs b/tests/rustdoc-ui/error-in-impl-trait/realistic-async.rs index 248575d35..248575d35 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/realistic-async.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs b/tests/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs index 31dd786cb..31dd786cb 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/trait-alias-closure.rs diff --git a/src/test/rustdoc-ui/error-in-impl-trait/trait-alias.rs b/tests/rustdoc-ui/error-in-impl-trait/trait-alias.rs index c18a024af..c18a024af 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/trait-alias.rs +++ b/tests/rustdoc-ui/error-in-impl-trait/trait-alias.rs diff --git a/src/test/rustdoc-ui/expect-tool-lint-rfc-2383.rs b/tests/rustdoc-ui/expect-tool-lint-rfc-2383.rs index 0901ac364..0901ac364 100644 --- a/src/test/rustdoc-ui/expect-tool-lint-rfc-2383.rs +++ b/tests/rustdoc-ui/expect-tool-lint-rfc-2383.rs diff --git a/src/test/rustdoc-ui/expect-tool-lint-rfc-2383.stderr b/tests/rustdoc-ui/expect-tool-lint-rfc-2383.stderr index efc5f349f..efc5f349f 100644 --- a/src/test/rustdoc-ui/expect-tool-lint-rfc-2383.stderr +++ b/tests/rustdoc-ui/expect-tool-lint-rfc-2383.stderr diff --git a/src/test/rustdoc-ui/failed-doctest-compile-fail.rs b/tests/rustdoc-ui/failed-doctest-compile-fail.rs index 6f2ff5d70..4dfca600f 100644 --- a/src/test/rustdoc-ui/failed-doctest-compile-fail.rs +++ b/tests/rustdoc-ui/failed-doctest-compile-fail.rs @@ -2,7 +2,7 @@ // adapted to use that, and that normalize line can go away // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-compile-fail.stdout b/tests/rustdoc-ui/failed-doctest-compile-fail.stdout index af3a90a74..af3a90a74 100644 --- a/src/test/rustdoc-ui/failed-doctest-compile-fail.stdout +++ b/tests/rustdoc-ui/failed-doctest-compile-fail.stdout diff --git a/src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs b/tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs index 16d737106..03a5b9d5d 100644 --- a/src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs +++ b/tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.rs @@ -2,7 +2,7 @@ // adapted to use that, and that normalize line can go away // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout b/tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout index 61468b6c7..61468b6c7 100644 --- a/src/test/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout +++ b/tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout diff --git a/src/test/rustdoc-ui/failed-doctest-missing-codes.rs b/tests/rustdoc-ui/failed-doctest-missing-codes.rs index 57b70b478..66a229a0c 100644 --- a/src/test/rustdoc-ui/failed-doctest-missing-codes.rs +++ b/tests/rustdoc-ui/failed-doctest-missing-codes.rs @@ -2,7 +2,7 @@ // adapted to use that, and that normalize line can go away // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-missing-codes.stdout b/tests/rustdoc-ui/failed-doctest-missing-codes.stdout index bacbb47b5..bacbb47b5 100644 --- a/src/test/rustdoc-ui/failed-doctest-missing-codes.stdout +++ b/tests/rustdoc-ui/failed-doctest-missing-codes.stdout diff --git a/src/test/rustdoc-ui/failed-doctest-output-windows.rs b/tests/rustdoc-ui/failed-doctest-output-windows.rs index 4cd9993d8..456a9e68f 100644 --- a/src/test/rustdoc-ui/failed-doctest-output-windows.rs +++ b/tests/rustdoc-ui/failed-doctest-output-windows.rs @@ -7,7 +7,7 @@ // compile-flags:--test --test-args --test-threads=1 // rustc-env:RUST_BACKTRACE=0 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-output-windows.stdout b/tests/rustdoc-ui/failed-doctest-output-windows.stdout index 6c147054d..6c147054d 100644 --- a/src/test/rustdoc-ui/failed-doctest-output-windows.stdout +++ b/tests/rustdoc-ui/failed-doctest-output-windows.stdout diff --git a/src/test/rustdoc-ui/failed-doctest-output.rs b/tests/rustdoc-ui/failed-doctest-output.rs index 42de954d0..77647f8ec 100644 --- a/src/test/rustdoc-ui/failed-doctest-output.rs +++ b/tests/rustdoc-ui/failed-doctest-output.rs @@ -7,7 +7,7 @@ // compile-flags:--test --test-args --test-threads=1 // rustc-env:RUST_BACKTRACE=0 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-output.stdout b/tests/rustdoc-ui/failed-doctest-output.stdout index 630198a56..630198a56 100644 --- a/src/test/rustdoc-ui/failed-doctest-output.stdout +++ b/tests/rustdoc-ui/failed-doctest-output.stdout diff --git a/src/test/rustdoc-ui/failed-doctest-should-panic.rs b/tests/rustdoc-ui/failed-doctest-should-panic.rs index 2b8bb3168..c134f8006 100644 --- a/src/test/rustdoc-ui/failed-doctest-should-panic.rs +++ b/tests/rustdoc-ui/failed-doctest-should-panic.rs @@ -2,7 +2,7 @@ // adapted to use that, and that normalize line can go away // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/failed-doctest-should-panic.stdout b/tests/rustdoc-ui/failed-doctest-should-panic.stdout index 57a20092a..57a20092a 100644 --- a/src/test/rustdoc-ui/failed-doctest-should-panic.stdout +++ b/tests/rustdoc-ui/failed-doctest-should-panic.stdout diff --git a/src/test/rustdoc-ui/feature-gate-doc_cfg_hide.rs b/tests/rustdoc-ui/feature-gate-doc_cfg_hide.rs index 17812018b..17812018b 100644 --- a/src/test/rustdoc-ui/feature-gate-doc_cfg_hide.rs +++ b/tests/rustdoc-ui/feature-gate-doc_cfg_hide.rs diff --git a/src/test/rustdoc-ui/feature-gate-doc_cfg_hide.stderr b/tests/rustdoc-ui/feature-gate-doc_cfg_hide.stderr index ba42c7bbb..ba42c7bbb 100644 --- a/src/test/rustdoc-ui/feature-gate-doc_cfg_hide.stderr +++ b/tests/rustdoc-ui/feature-gate-doc_cfg_hide.stderr diff --git a/src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs index daba69868..daba69868 100644 --- a/src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs +++ b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs diff --git a/src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr index cbe9a3d14..cbe9a3d14 100644 --- a/src/test/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr +++ b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.stderr diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.rs b/tests/rustdoc-ui/generate-link-to-definition-opt-unstable.rs index 87620d74e..87620d74e 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.rs +++ b/tests/rustdoc-ui/generate-link-to-definition-opt-unstable.rs diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr b/tests/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr index a8ddf91bc..a8ddf91bc 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr +++ b/tests/rustdoc-ui/generate-link-to-definition-opt-unstable.stderr diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt.rs b/tests/rustdoc-ui/generate-link-to-definition-opt.rs index 8f4f561b4..8f4f561b4 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt.rs +++ b/tests/rustdoc-ui/generate-link-to-definition-opt.rs diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt.stderr b/tests/rustdoc-ui/generate-link-to-definition-opt.stderr index 4c8c607e7..4c8c607e7 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt.stderr +++ b/tests/rustdoc-ui/generate-link-to-definition-opt.stderr diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt2.rs b/tests/rustdoc-ui/generate-link-to-definition-opt2.rs index da5142087..da5142087 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt2.rs +++ b/tests/rustdoc-ui/generate-link-to-definition-opt2.rs diff --git a/src/test/rustdoc-ui/generate-link-to-definition-opt2.stderr b/tests/rustdoc-ui/generate-link-to-definition-opt2.stderr index 4c8c607e7..4c8c607e7 100644 --- a/src/test/rustdoc-ui/generate-link-to-definition-opt2.stderr +++ b/tests/rustdoc-ui/generate-link-to-definition-opt2.stderr diff --git a/src/test/rustdoc-ui/ignore-block-help.rs b/tests/rustdoc-ui/ignore-block-help.rs index 86f6a2868..86f6a2868 100644 --- a/src/test/rustdoc-ui/ignore-block-help.rs +++ b/tests/rustdoc-ui/ignore-block-help.rs diff --git a/src/test/rustdoc-ui/ignore-block-help.stderr b/tests/rustdoc-ui/ignore-block-help.stderr index a30ea51dd..a30ea51dd 100644 --- a/src/test/rustdoc-ui/ignore-block-help.stderr +++ b/tests/rustdoc-ui/ignore-block-help.stderr diff --git a/src/test/rustdoc-ui/impl-fn-nesting.rs b/tests/rustdoc-ui/impl-fn-nesting.rs index a927f6bd7..a927f6bd7 100644 --- a/src/test/rustdoc-ui/impl-fn-nesting.rs +++ b/tests/rustdoc-ui/impl-fn-nesting.rs diff --git a/src/test/rustdoc-ui/impl-fn-nesting.stderr b/tests/rustdoc-ui/impl-fn-nesting.stderr index 608749af8..608749af8 100644 --- a/src/test/rustdoc-ui/impl-fn-nesting.stderr +++ b/tests/rustdoc-ui/impl-fn-nesting.stderr diff --git a/src/test/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs b/tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs index 4b1e04234..4b1e04234 100644 --- a/src/test/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs +++ b/tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs diff --git a/src/test/rustdoc-ui/infinite-recursive-type-impl-trait.rs b/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs index ac79582fb..ac79582fb 100644 --- a/src/test/rustdoc-ui/infinite-recursive-type-impl-trait.rs +++ b/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs diff --git a/src/test/rustdoc-ui/infinite-recursive-type.rs b/tests/rustdoc-ui/infinite-recursive-type.rs index 32793fc4f..32793fc4f 100644 --- a/src/test/rustdoc-ui/infinite-recursive-type.rs +++ b/tests/rustdoc-ui/infinite-recursive-type.rs diff --git a/src/test/rustdoc-ui/infinite-recursive-type.stderr b/tests/rustdoc-ui/infinite-recursive-type.stderr index 9e2c3ff16..9e2c3ff16 100644 --- a/src/test/rustdoc-ui/infinite-recursive-type.stderr +++ b/tests/rustdoc-ui/infinite-recursive-type.stderr diff --git a/src/test/rustdoc-ui/intra-doc/alias-ice.rs b/tests/rustdoc-ui/intra-doc/alias-ice.rs index 51922caeb..51922caeb 100644 --- a/src/test/rustdoc-ui/intra-doc/alias-ice.rs +++ b/tests/rustdoc-ui/intra-doc/alias-ice.rs diff --git a/src/test/rustdoc-ui/intra-doc/alias-ice.stderr b/tests/rustdoc-ui/intra-doc/alias-ice.stderr index 5e7ffeeb8..5e7ffeeb8 100644 --- a/src/test/rustdoc-ui/intra-doc/alias-ice.stderr +++ b/tests/rustdoc-ui/intra-doc/alias-ice.stderr diff --git a/src/test/rustdoc-ui/intra-doc/ambiguity.rs b/tests/rustdoc-ui/intra-doc/ambiguity.rs index 1f3dc722e..1f3dc722e 100644 --- a/src/test/rustdoc-ui/intra-doc/ambiguity.rs +++ b/tests/rustdoc-ui/intra-doc/ambiguity.rs diff --git a/src/test/rustdoc-ui/intra-doc/ambiguity.stderr b/tests/rustdoc-ui/intra-doc/ambiguity.stderr index 7974796e4..7974796e4 100644 --- a/src/test/rustdoc-ui/intra-doc/ambiguity.stderr +++ b/tests/rustdoc-ui/intra-doc/ambiguity.stderr diff --git a/src/test/rustdoc-ui/intra-doc/anchors.rs b/tests/rustdoc-ui/intra-doc/anchors.rs index 34e11c7c7..34e11c7c7 100644 --- a/src/test/rustdoc-ui/intra-doc/anchors.rs +++ b/tests/rustdoc-ui/intra-doc/anchors.rs diff --git a/src/test/rustdoc-ui/intra-doc/anchors.stderr b/tests/rustdoc-ui/intra-doc/anchors.stderr index 0d226b277..0d226b277 100644 --- a/src/test/rustdoc-ui/intra-doc/anchors.stderr +++ b/tests/rustdoc-ui/intra-doc/anchors.stderr diff --git a/src/test/rustdoc-ui/intra-doc/assoc-field.rs b/tests/rustdoc-ui/intra-doc/assoc-field.rs index e18404e44..e18404e44 100644 --- a/src/test/rustdoc-ui/intra-doc/assoc-field.rs +++ b/tests/rustdoc-ui/intra-doc/assoc-field.rs diff --git a/src/test/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs b/tests/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs index b4ce3443c..b4ce3443c 100644 --- a/src/test/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs +++ b/tests/rustdoc-ui/intra-doc/assoc-mod-inner-outer.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs b/tests/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs index cfb24fc2c..cfb24fc2c 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/assoc-field-dep.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs b/tests/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs index 7a11a1657..7a11a1657 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/assoc-mod-inner-outer-dep.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/dep1.rs b/tests/rustdoc-ui/intra-doc/auxiliary/dep1.rs index d11c69f81..d11c69f81 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/dep1.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/dep1.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/dep2.rs b/tests/rustdoc-ui/intra-doc/auxiliary/dep2.rs index d11c69f81..d11c69f81 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/dep2.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/dep2.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/dep3.rs b/tests/rustdoc-ui/intra-doc/auxiliary/dep3.rs index d11c69f81..d11c69f81 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/dep3.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/dep3.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/dep4.rs b/tests/rustdoc-ui/intra-doc/auxiliary/dep4.rs index d11c69f81..d11c69f81 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/dep4.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/dep4.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs b/tests/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs index 31a8310d4..31a8310d4 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/intra-doc-broken.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs b/tests/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs index 0a3dc57f1..0a3dc57f1 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/pointer-reexports-allowed.rs diff --git a/src/test/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs b/tests/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs index 5c4a01ee3..5c4a01ee3 100644 --- a/src/test/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs +++ b/tests/rustdoc-ui/intra-doc/auxiliary/through-proc-macro-aux.rs diff --git a/src/test/rustdoc-ui/intra-doc/broken-reexport.rs b/tests/rustdoc-ui/intra-doc/broken-reexport.rs index 862faa50b..862faa50b 100644 --- a/src/test/rustdoc-ui/intra-doc/broken-reexport.rs +++ b/tests/rustdoc-ui/intra-doc/broken-reexport.rs diff --git a/src/test/rustdoc-ui/intra-doc/crate-nonexistent.rs b/tests/rustdoc-ui/intra-doc/crate-nonexistent.rs index ceecfa681..ceecfa681 100644 --- a/src/test/rustdoc-ui/intra-doc/crate-nonexistent.rs +++ b/tests/rustdoc-ui/intra-doc/crate-nonexistent.rs diff --git a/src/test/rustdoc-ui/intra-doc/crate-nonexistent.stderr b/tests/rustdoc-ui/intra-doc/crate-nonexistent.stderr index a69b1c52a..a69b1c52a 100644 --- a/src/test/rustdoc-ui/intra-doc/crate-nonexistent.stderr +++ b/tests/rustdoc-ui/intra-doc/crate-nonexistent.stderr diff --git a/src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.rs b/tests/rustdoc-ui/intra-doc/disambiguator-mismatch.rs index 2d6656611..2d6656611 100644 --- a/src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.rs +++ b/tests/rustdoc-ui/intra-doc/disambiguator-mismatch.rs diff --git a/src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr b/tests/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr index ee35749ce..ee35749ce 100644 --- a/src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr +++ b/tests/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr diff --git a/src/test/rustdoc-ui/intra-doc/double-anchor.rs b/tests/rustdoc-ui/intra-doc/double-anchor.rs index a01211c4f..a01211c4f 100644 --- a/src/test/rustdoc-ui/intra-doc/double-anchor.rs +++ b/tests/rustdoc-ui/intra-doc/double-anchor.rs diff --git a/src/test/rustdoc-ui/intra-doc/double-anchor.stderr b/tests/rustdoc-ui/intra-doc/double-anchor.stderr index 6addb010e..6addb010e 100644 --- a/src/test/rustdoc-ui/intra-doc/double-anchor.stderr +++ b/tests/rustdoc-ui/intra-doc/double-anchor.stderr diff --git a/src/test/rustdoc-ui/intra-doc/email-address-localhost.rs b/tests/rustdoc-ui/intra-doc/email-address-localhost.rs index 7a5156e81..7a5156e81 100644 --- a/src/test/rustdoc-ui/intra-doc/email-address-localhost.rs +++ b/tests/rustdoc-ui/intra-doc/email-address-localhost.rs diff --git a/src/test/rustdoc-ui/intra-doc/errors.rs b/tests/rustdoc-ui/intra-doc/errors.rs index b29f7c29b..b29f7c29b 100644 --- a/src/test/rustdoc-ui/intra-doc/errors.rs +++ b/tests/rustdoc-ui/intra-doc/errors.rs diff --git a/src/test/rustdoc-ui/intra-doc/errors.stderr b/tests/rustdoc-ui/intra-doc/errors.stderr index 9a1896fb0..9a1896fb0 100644 --- a/src/test/rustdoc-ui/intra-doc/errors.stderr +++ b/tests/rustdoc-ui/intra-doc/errors.stderr diff --git a/src/test/rustdoc-ui/intra-doc/extern-crate-load.rs b/tests/rustdoc-ui/intra-doc/extern-crate-load.rs index 438c56aa5..438c56aa5 100644 --- a/src/test/rustdoc-ui/intra-doc/extern-crate-load.rs +++ b/tests/rustdoc-ui/intra-doc/extern-crate-load.rs diff --git a/src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs b/tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs index 3cfac942c..3cfac942c 100644 --- a/src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs +++ b/tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.rs diff --git a/src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr b/tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr index 2c946ed48..2c946ed48 100644 --- a/src/test/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr +++ b/tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr diff --git a/src/test/rustdoc-ui/intra-doc/field-ice.rs b/tests/rustdoc-ui/intra-doc/field-ice.rs index c5d501e38..c5d501e38 100644 --- a/src/test/rustdoc-ui/intra-doc/field-ice.rs +++ b/tests/rustdoc-ui/intra-doc/field-ice.rs diff --git a/src/test/rustdoc-ui/intra-doc/field-ice.stderr b/tests/rustdoc-ui/intra-doc/field-ice.stderr index f45a3ca61..f45a3ca61 100644 --- a/src/test/rustdoc-ui/intra-doc/field-ice.stderr +++ b/tests/rustdoc-ui/intra-doc/field-ice.stderr diff --git a/src/test/rustdoc-ui/intra-doc/global-path.rs b/tests/rustdoc-ui/intra-doc/global-path.rs index cc7a5fa1c..cc7a5fa1c 100644 --- a/src/test/rustdoc-ui/intra-doc/global-path.rs +++ b/tests/rustdoc-ui/intra-doc/global-path.rs diff --git a/src/test/rustdoc-ui/intra-doc/global-path.stderr b/tests/rustdoc-ui/intra-doc/global-path.stderr index 02379cd6c..02379cd6c 100644 --- a/src/test/rustdoc-ui/intra-doc/global-path.stderr +++ b/tests/rustdoc-ui/intra-doc/global-path.stderr diff --git a/src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs b/tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs index b5470c859..b5470c859 100644 --- a/src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs +++ b/tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.rs diff --git a/src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr b/tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr index 7c81044db..7c81044db 100644 --- a/src/test/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr +++ b/tests/rustdoc-ui/intra-doc/html-as-generics-intra-doc.stderr diff --git a/src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs b/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs index 3088bcd46..3088bcd46 100644 --- a/src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs +++ b/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.rs diff --git a/src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr b/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr index c43cda3eb..c43cda3eb 100644 --- a/src/test/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr +++ b/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr diff --git a/src/test/rustdoc-ui/intra-doc/macro-rules-error.rs b/tests/rustdoc-ui/intra-doc/macro-rules-error.rs index 8490584c1..8490584c1 100644 --- a/src/test/rustdoc-ui/intra-doc/macro-rules-error.rs +++ b/tests/rustdoc-ui/intra-doc/macro-rules-error.rs diff --git a/src/test/rustdoc-ui/intra-doc/macro-rules-error.stderr b/tests/rustdoc-ui/intra-doc/macro-rules-error.stderr index 6ad8084b0..6ad8084b0 100644 --- a/src/test/rustdoc-ui/intra-doc/macro-rules-error.stderr +++ b/tests/rustdoc-ui/intra-doc/macro-rules-error.stderr diff --git a/src/test/rustdoc-ui/intra-doc/macro-rules.rs b/tests/rustdoc-ui/intra-doc/macro-rules.rs index 3aeb370ef..3aeb370ef 100644 --- a/src/test/rustdoc-ui/intra-doc/macro-rules.rs +++ b/tests/rustdoc-ui/intra-doc/macro-rules.rs diff --git a/src/test/rustdoc-ui/intra-doc/malformed-generics.rs b/tests/rustdoc-ui/intra-doc/malformed-generics.rs index 161625ed2..161625ed2 100644 --- a/src/test/rustdoc-ui/intra-doc/malformed-generics.rs +++ b/tests/rustdoc-ui/intra-doc/malformed-generics.rs diff --git a/src/test/rustdoc-ui/intra-doc/malformed-generics.stderr b/tests/rustdoc-ui/intra-doc/malformed-generics.stderr index 08349fef8..08349fef8 100644 --- a/src/test/rustdoc-ui/intra-doc/malformed-generics.stderr +++ b/tests/rustdoc-ui/intra-doc/malformed-generics.stderr diff --git a/src/test/rustdoc-ui/intra-doc/non-path-primitives.rs b/tests/rustdoc-ui/intra-doc/non-path-primitives.rs index 587cbad68..587cbad68 100644 --- a/src/test/rustdoc-ui/intra-doc/non-path-primitives.rs +++ b/tests/rustdoc-ui/intra-doc/non-path-primitives.rs diff --git a/src/test/rustdoc-ui/intra-doc/non-path-primitives.stderr b/tests/rustdoc-ui/intra-doc/non-path-primitives.stderr index 8ec894d10..8ec894d10 100644 --- a/src/test/rustdoc-ui/intra-doc/non-path-primitives.stderr +++ b/tests/rustdoc-ui/intra-doc/non-path-primitives.stderr diff --git a/src/test/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs b/tests/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs index 8654a8e1b..8654a8e1b 100644 --- a/src/test/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs +++ b/tests/rustdoc-ui/intra-doc/pointer-reexports-allowed.rs diff --git a/src/test/rustdoc-ui/intra-doc/prim-conflict.rs b/tests/rustdoc-ui/intra-doc/prim-conflict.rs index 2c1a8b535..2c1a8b535 100644 --- a/src/test/rustdoc-ui/intra-doc/prim-conflict.rs +++ b/tests/rustdoc-ui/intra-doc/prim-conflict.rs diff --git a/src/test/rustdoc-ui/intra-doc/prim-conflict.stderr b/tests/rustdoc-ui/intra-doc/prim-conflict.stderr index 6ef3b7eab..6ef3b7eab 100644 --- a/src/test/rustdoc-ui/intra-doc/prim-conflict.stderr +++ b/tests/rustdoc-ui/intra-doc/prim-conflict.stderr diff --git a/src/test/rustdoc-ui/intra-doc/private-from-crate-level.rs b/tests/rustdoc-ui/intra-doc/private-from-crate-level.rs index e429e75b2..e429e75b2 100644 --- a/src/test/rustdoc-ui/intra-doc/private-from-crate-level.rs +++ b/tests/rustdoc-ui/intra-doc/private-from-crate-level.rs diff --git a/src/test/rustdoc-ui/intra-doc/private-from-crate-level.stderr b/tests/rustdoc-ui/intra-doc/private-from-crate-level.stderr index 4d5bd70bf..4d5bd70bf 100644 --- a/src/test/rustdoc-ui/intra-doc/private-from-crate-level.stderr +++ b/tests/rustdoc-ui/intra-doc/private-from-crate-level.stderr diff --git a/src/test/rustdoc-ui/intra-doc/private.private.stderr b/tests/rustdoc-ui/intra-doc/private.private.stderr index 6661e9021..6661e9021 100644 --- a/src/test/rustdoc-ui/intra-doc/private.private.stderr +++ b/tests/rustdoc-ui/intra-doc/private.private.stderr diff --git a/src/test/rustdoc-ui/intra-doc/private.public.stderr b/tests/rustdoc-ui/intra-doc/private.public.stderr index 45b51e12e..45b51e12e 100644 --- a/src/test/rustdoc-ui/intra-doc/private.public.stderr +++ b/tests/rustdoc-ui/intra-doc/private.public.stderr diff --git a/src/test/rustdoc-ui/intra-doc/private.rs b/tests/rustdoc-ui/intra-doc/private.rs index 525332dda..525332dda 100644 --- a/src/test/rustdoc-ui/intra-doc/private.rs +++ b/tests/rustdoc-ui/intra-doc/private.rs diff --git a/src/test/rustdoc-ui/intra-doc/span-ice-55723.rs b/tests/rustdoc-ui/intra-doc/span-ice-55723.rs index 041ec2932..041ec2932 100644 --- a/src/test/rustdoc-ui/intra-doc/span-ice-55723.rs +++ b/tests/rustdoc-ui/intra-doc/span-ice-55723.rs diff --git a/src/test/rustdoc-ui/intra-doc/span-ice-55723.stderr b/tests/rustdoc-ui/intra-doc/span-ice-55723.stderr index e8ee40ad4..e8ee40ad4 100644 --- a/src/test/rustdoc-ui/intra-doc/span-ice-55723.stderr +++ b/tests/rustdoc-ui/intra-doc/span-ice-55723.stderr diff --git a/src/test/rustdoc-ui/intra-doc/through-proc-macro.rs b/tests/rustdoc-ui/intra-doc/through-proc-macro.rs index 7628c3928..7628c3928 100644 --- a/src/test/rustdoc-ui/intra-doc/through-proc-macro.rs +++ b/tests/rustdoc-ui/intra-doc/through-proc-macro.rs diff --git a/src/test/rustdoc-ui/intra-doc/through-proc-macro.stderr b/tests/rustdoc-ui/intra-doc/through-proc-macro.stderr index 508d0683d..508d0683d 100644 --- a/src/test/rustdoc-ui/intra-doc/through-proc-macro.stderr +++ b/tests/rustdoc-ui/intra-doc/through-proc-macro.stderr diff --git a/src/test/rustdoc-ui/intra-doc/unknown-disambiguator.rs b/tests/rustdoc-ui/intra-doc/unknown-disambiguator.rs index 0aa1e5a41..0aa1e5a41 100644 --- a/src/test/rustdoc-ui/intra-doc/unknown-disambiguator.rs +++ b/tests/rustdoc-ui/intra-doc/unknown-disambiguator.rs diff --git a/src/test/rustdoc-ui/intra-doc/unknown-disambiguator.stderr b/tests/rustdoc-ui/intra-doc/unknown-disambiguator.stderr index 19e541736..19e541736 100644 --- a/src/test/rustdoc-ui/intra-doc/unknown-disambiguator.stderr +++ b/tests/rustdoc-ui/intra-doc/unknown-disambiguator.stderr diff --git a/src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.rs b/tests/rustdoc-ui/intra-doc/unresolved-import-recovery.rs index c71e5bee1..c71e5bee1 100644 --- a/src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.rs +++ b/tests/rustdoc-ui/intra-doc/unresolved-import-recovery.rs diff --git a/src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr b/tests/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr index b54f82006..b54f82006 100644 --- a/src/test/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr +++ b/tests/rustdoc-ui/intra-doc/unresolved-import-recovery.stderr diff --git a/src/test/rustdoc-ui/intra-doc/unused-extern-crate.rs b/tests/rustdoc-ui/intra-doc/unused-extern-crate.rs index 956583093..956583093 100644 --- a/src/test/rustdoc-ui/intra-doc/unused-extern-crate.rs +++ b/tests/rustdoc-ui/intra-doc/unused-extern-crate.rs diff --git a/src/test/rustdoc-ui/intra-doc/unused-extern-crate.stderr b/tests/rustdoc-ui/intra-doc/unused-extern-crate.stderr index 815324563..815324563 100644 --- a/src/test/rustdoc-ui/intra-doc/unused-extern-crate.stderr +++ b/tests/rustdoc-ui/intra-doc/unused-extern-crate.stderr diff --git a/src/test/rustdoc-ui/intra-doc/warning-crlf.rs b/tests/rustdoc-ui/intra-doc/warning-crlf.rs index ceb62f6d1..ceb62f6d1 100644 --- a/src/test/rustdoc-ui/intra-doc/warning-crlf.rs +++ b/tests/rustdoc-ui/intra-doc/warning-crlf.rs diff --git a/src/test/rustdoc-ui/intra-doc/warning-crlf.stderr b/tests/rustdoc-ui/intra-doc/warning-crlf.stderr index c309a55f4..c309a55f4 100644 --- a/src/test/rustdoc-ui/intra-doc/warning-crlf.stderr +++ b/tests/rustdoc-ui/intra-doc/warning-crlf.stderr diff --git a/src/test/rustdoc-ui/intra-doc/warning.rs b/tests/rustdoc-ui/intra-doc/warning.rs index eab1f0348..eab1f0348 100644 --- a/src/test/rustdoc-ui/intra-doc/warning.rs +++ b/tests/rustdoc-ui/intra-doc/warning.rs diff --git a/src/test/rustdoc-ui/intra-doc/warning.stderr b/tests/rustdoc-ui/intra-doc/warning.stderr index 19399a0df..19399a0df 100644 --- a/src/test/rustdoc-ui/intra-doc/warning.stderr +++ b/tests/rustdoc-ui/intra-doc/warning.stderr diff --git a/src/test/rustdoc-ui/invalid-cfg.rs b/tests/rustdoc-ui/invalid-cfg.rs index d237b8605..d237b8605 100644 --- a/src/test/rustdoc-ui/invalid-cfg.rs +++ b/tests/rustdoc-ui/invalid-cfg.rs diff --git a/src/test/rustdoc-ui/invalid-cfg.stderr b/tests/rustdoc-ui/invalid-cfg.stderr index dae238b05..dae238b05 100644 --- a/src/test/rustdoc-ui/invalid-cfg.stderr +++ b/tests/rustdoc-ui/invalid-cfg.stderr diff --git a/src/test/rustdoc-ui/invalid-doc-attr.rs b/tests/rustdoc-ui/invalid-doc-attr.rs index de004b41e..de004b41e 100644 --- a/src/test/rustdoc-ui/invalid-doc-attr.rs +++ b/tests/rustdoc-ui/invalid-doc-attr.rs diff --git a/src/test/rustdoc-ui/invalid-doc-attr.stderr b/tests/rustdoc-ui/invalid-doc-attr.stderr index 3c66e587b..3c66e587b 100644 --- a/src/test/rustdoc-ui/invalid-doc-attr.stderr +++ b/tests/rustdoc-ui/invalid-doc-attr.stderr diff --git a/src/test/rustdoc-ui/invalid-html-self-closing-tag.rs b/tests/rustdoc-ui/invalid-html-self-closing-tag.rs index d973a53cb..d973a53cb 100644 --- a/src/test/rustdoc-ui/invalid-html-self-closing-tag.rs +++ b/tests/rustdoc-ui/invalid-html-self-closing-tag.rs diff --git a/src/test/rustdoc-ui/invalid-html-self-closing-tag.stderr b/tests/rustdoc-ui/invalid-html-self-closing-tag.stderr index e45edfb43..e45edfb43 100644 --- a/src/test/rustdoc-ui/invalid-html-self-closing-tag.stderr +++ b/tests/rustdoc-ui/invalid-html-self-closing-tag.stderr diff --git a/src/test/rustdoc-ui/invalid-html-tags.rs b/tests/rustdoc-ui/invalid-html-tags.rs index 317f1fd1d..317f1fd1d 100644 --- a/src/test/rustdoc-ui/invalid-html-tags.rs +++ b/tests/rustdoc-ui/invalid-html-tags.rs diff --git a/src/test/rustdoc-ui/invalid-html-tags.stderr b/tests/rustdoc-ui/invalid-html-tags.stderr index 9c2bfcf2c..9c2bfcf2c 100644 --- a/src/test/rustdoc-ui/invalid-html-tags.stderr +++ b/tests/rustdoc-ui/invalid-html-tags.stderr diff --git a/src/test/rustdoc-ui/invalid-keyword.rs b/tests/rustdoc-ui/invalid-keyword.rs index 2d70471c8..2d70471c8 100644 --- a/src/test/rustdoc-ui/invalid-keyword.rs +++ b/tests/rustdoc-ui/invalid-keyword.rs diff --git a/src/test/rustdoc-ui/invalid-keyword.stderr b/tests/rustdoc-ui/invalid-keyword.stderr index 8658e3825..8658e3825 100644 --- a/src/test/rustdoc-ui/invalid-keyword.stderr +++ b/tests/rustdoc-ui/invalid-keyword.stderr diff --git a/src/test/rustdoc-ui/invalid-syntax.rs b/tests/rustdoc-ui/invalid-syntax.rs index acb2a6f08..acb2a6f08 100644 --- a/src/test/rustdoc-ui/invalid-syntax.rs +++ b/tests/rustdoc-ui/invalid-syntax.rs diff --git a/src/test/rustdoc-ui/invalid-syntax.stderr b/tests/rustdoc-ui/invalid-syntax.stderr index 597d19e74..6140a06c5 100644 --- a/src/test/rustdoc-ui/invalid-syntax.stderr +++ b/tests/rustdoc-ui/invalid-syntax.stderr @@ -77,8 +77,6 @@ LL | /// ``` | ^^^ | = note: error from rustc: unknown start of token: ` - = note: error from rustc: unknown start of token: ` - = note: error from rustc: unknown start of token: ` warning: could not parse code block as Rust code --> $DIR/invalid-syntax.rs:64:5 diff --git a/src/test/rustdoc-ui/invalid-theme-name.rs b/tests/rustdoc-ui/invalid-theme-name.rs index c22ebf027..c22ebf027 100644 --- a/src/test/rustdoc-ui/invalid-theme-name.rs +++ b/tests/rustdoc-ui/invalid-theme-name.rs diff --git a/src/test/rustdoc-ui/invalid-theme-name.stderr b/tests/rustdoc-ui/invalid-theme-name.stderr index 80204442d..80204442d 100644 --- a/src/test/rustdoc-ui/invalid-theme-name.stderr +++ b/tests/rustdoc-ui/invalid-theme-name.stderr diff --git a/src/test/rustdoc-ui/issue-101076.rs b/tests/rustdoc-ui/issue-101076.rs index 648f99029..648f99029 100644 --- a/src/test/rustdoc-ui/issue-101076.rs +++ b/tests/rustdoc-ui/issue-101076.rs diff --git a/src/test/rustdoc-ui/issue-102986.rs b/tests/rustdoc-ui/issue-102986.rs index 001784ac2..001784ac2 100644 --- a/src/test/rustdoc-ui/issue-102986.rs +++ b/tests/rustdoc-ui/issue-102986.rs diff --git a/src/test/rustdoc-ui/issue-102986.stderr b/tests/rustdoc-ui/issue-102986.stderr index 3a573726c..3a573726c 100644 --- a/src/test/rustdoc-ui/issue-102986.stderr +++ b/tests/rustdoc-ui/issue-102986.stderr diff --git a/src/test/rustdoc-ui/issue-103997.rs b/tests/rustdoc-ui/issue-103997.rs index 36f42fb15..36f42fb15 100644 --- a/src/test/rustdoc-ui/issue-103997.rs +++ b/tests/rustdoc-ui/issue-103997.rs diff --git a/src/test/rustdoc-ui/issue-103997.stderr b/tests/rustdoc-ui/issue-103997.stderr index c06db9149..c06db9149 100644 --- a/src/test/rustdoc-ui/issue-103997.stderr +++ b/tests/rustdoc-ui/issue-103997.stderr diff --git a/tests/rustdoc-ui/issue-105334.rs b/tests/rustdoc-ui/issue-105334.rs new file mode 100644 index 000000000..ee1adc6a0 --- /dev/null +++ b/tests/rustdoc-ui/issue-105334.rs @@ -0,0 +1,2 @@ +impl Vec< br##"*.."## > {} +//~^ ERROR diff --git a/tests/rustdoc-ui/issue-105334.stderr b/tests/rustdoc-ui/issue-105334.stderr new file mode 100644 index 000000000..e163bb4db --- /dev/null +++ b/tests/rustdoc-ui/issue-105334.stderr @@ -0,0 +1,9 @@ +error[E0747]: constant provided when a type was expected + --> $DIR/issue-105334.rs:1:11 + | +LL | impl Vec< br##"*.."## > {} + | ^^^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0747`. diff --git a/tests/rustdoc-ui/issue-105737.rs b/tests/rustdoc-ui/issue-105737.rs new file mode 100644 index 000000000..154f069d8 --- /dev/null +++ b/tests/rustdoc-ui/issue-105737.rs @@ -0,0 +1,4 @@ +impl Vec<lol> {} +//~^ ERROR + +pub fn lol() {} diff --git a/tests/rustdoc-ui/issue-105737.stderr b/tests/rustdoc-ui/issue-105737.stderr new file mode 100644 index 000000000..2dd9beb17 --- /dev/null +++ b/tests/rustdoc-ui/issue-105737.stderr @@ -0,0 +1,12 @@ +error[E0747]: constant provided when a type was expected + --> $DIR/issue-105737.rs:1:10 + | +LL | impl Vec<lol> {} + | ^^^ + | + = help: `lol` is a function item, not a type + = help: function item types cannot be named directly + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0747`. diff --git a/tests/rustdoc-ui/issue-105742.rs b/tests/rustdoc-ui/issue-105742.rs new file mode 100644 index 000000000..cb1de7433 --- /dev/null +++ b/tests/rustdoc-ui/issue-105742.rs @@ -0,0 +1,40 @@ +// compile-flags: -Znormalize-docs + +use std::ops::Index; + +pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) { +//~^ ERROR +//~^^ ERROR +//~^^^ ERROR + let _ = s; +} + +pub trait SVec: Index< + <Self as SVec>::Item, +//~^ ERROR +//~^^ ERROR +//~^^^ ERROR +//~^^^^ ERROR + Output = <Index<<Self as SVec>::Item, +//~^ ERROR +//~^^ ERROR +//~^^^ ERROR +//~^^^^ ERROR + Output = <Self as SVec>::Item> as SVec>::Item, +//~^ ERROR +//~^^ ERROR +//~^^^ ERROR +//~^^^^ ERROR +//~^^^^^ ERROR +//~^^^^^^ ERROR +//~^^^^^^^ ERROR +//~^^^^^^^^ ERROR +> { + type Item<'a, T>; + + fn len(&self) -> <Self as SVec>::Item; + //~^ ERROR + //~^^ ERROR + //~^^^ ERROR + //~^^^^ ERROR +} diff --git a/tests/rustdoc-ui/issue-105742.stderr b/tests/rustdoc-ui/issue-105742.stderr new file mode 100644 index 000000000..ffb602cf8 --- /dev/null +++ b/tests/rustdoc-ui/issue-105742.stderr @@ -0,0 +1,385 @@ +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:13:21 + | +LL | <Self as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | <Self as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:13:21 + | +LL | <Self as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | <Self as SVec>::Item<T>, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:18:37 + | +LL | Output = <Index<<Self as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Index<<Self as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:18:37 + | +LL | Output = <Index<<Self as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Index<<Self as SVec>::Item<T>, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:30 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Self as SVec>::Item<'a>> as SVec>::Item, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:30 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Self as SVec>::Item<T>> as SVec>::Item, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:46 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Self as SVec>::Item> as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:46 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Self as SVec>::Item> as SVec>::Item<T>, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:5:40 + | +LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) { + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item<'_> = T, Output = T>) { + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:5:40 + | +LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) { + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item<T> = T, Output = T>) { + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:13:21 + | +LL | <Self as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | <Self as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:13:21 + | +LL | <Self as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | <Self as SVec>::Item<T>, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:18:37 + | +LL | Output = <Index<<Self as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Index<<Self as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:18:37 + | +LL | Output = <Index<<Self as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Index<<Self as SVec>::Item<T>, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:30 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Self as SVec>::Item<'a>> as SVec>::Item, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:30 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Self as SVec>::Item<T>> as SVec>::Item, + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:46 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | Output = <Self as SVec>::Item> as SVec>::Item<'a>, + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:23:46 + | +LL | Output = <Self as SVec>::Item> as SVec>::Item, + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | Output = <Self as SVec>::Item> as SVec>::Item<T>, + | +++ + +error[E0038]: the trait `SVec` cannot be made into an object + --> $DIR/issue-105742.rs:5:31 + | +LL | pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SVec` cannot be made into an object + | +note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> + --> $DIR/issue-105742.rs:12:17 + | +LL | pub trait SVec: Index< + | ____________----__^ + | | | + | | this trait cannot be made into an object... +LL | | <Self as SVec>::Item, +LL | | +LL | | +... | +LL | |/ Output = <Index<<Self as SVec>::Item, +LL | || +LL | || +LL | || +LL | || +LL | || Output = <Self as SVec>::Item> as SVec>::Item, + | ||_________________________________________________^ ...because it uses `Self` as a type parameter +... | +LL | | +LL | | > { + | |__^ ...because it uses `Self` as a type parameter + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:35:38 + | +LL | fn len(&self) -> <Self as SVec>::Item; + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | fn len(&self) -> <Self as SVec>::Item<'_>; + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:35:38 + | +LL | fn len(&self) -> <Self as SVec>::Item; + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | fn len(&self) -> <Self as SVec>::Item<T>; + | +++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:35:38 + | +LL | fn len(&self) -> <Self as SVec>::Item; + | ^^^^ expected 1 lifetime argument + | +note: associated type defined here, with 1 lifetime parameter: `'a` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ -- +help: add missing lifetime argument + | +LL | fn len(&self) -> <Self as SVec>::Item<'_>; + | ++++ + +error[E0107]: missing generics for associated type `SVec::Item` + --> $DIR/issue-105742.rs:35:38 + | +LL | fn len(&self) -> <Self as SVec>::Item; + | ^^^^ expected 1 generic argument + | +note: associated type defined here, with 1 generic parameter: `T` + --> $DIR/issue-105742.rs:33:10 + | +LL | type Item<'a, T>; + | ^^^^ - +help: add missing generic argument + | +LL | fn len(&self) -> <Self as SVec>::Item<T>; + | +++ + +error: aborting due to 23 previous errors + +Some errors have detailed explanations: E0038, E0107. +For more information about an error, try `rustc --explain E0038`. diff --git a/tests/rustdoc-ui/issue-106213.rs b/tests/rustdoc-ui/issue-106213.rs new file mode 100644 index 000000000..6d51846b7 --- /dev/null +++ b/tests/rustdoc-ui/issue-106213.rs @@ -0,0 +1,7 @@ +// compile-flags: --document-private-items +// edition:2021 + +fn use_avx() -> dyn { + //~^ ERROR at least one trait is required for an object type + !( ident_error ) +} diff --git a/tests/rustdoc-ui/issue-106213.stderr b/tests/rustdoc-ui/issue-106213.stderr new file mode 100644 index 000000000..0a4ff69ba --- /dev/null +++ b/tests/rustdoc-ui/issue-106213.stderr @@ -0,0 +1,9 @@ +error[E0224]: at least one trait is required for an object type + --> $DIR/issue-106213.rs:4:17 + | +LL | fn use_avx() -> dyn { + | ^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0224`. diff --git a/tests/rustdoc-ui/issue-106226.rs b/tests/rustdoc-ui/issue-106226.rs new file mode 100644 index 000000000..71b497a9a --- /dev/null +++ b/tests/rustdoc-ui/issue-106226.rs @@ -0,0 +1,3 @@ +// This is a regression test for <https://github.com/rust-lang/rust/issues/106226>. +type F = [_; ()]; +//~^ ERROR diff --git a/tests/rustdoc-ui/issue-106226.stderr b/tests/rustdoc-ui/issue-106226.stderr new file mode 100644 index 000000000..2beffbc12 --- /dev/null +++ b/tests/rustdoc-ui/issue-106226.stderr @@ -0,0 +1,9 @@ +error[E0308]: mismatched types + --> $DIR/issue-106226.rs:2:14 + | +LL | type F = [_; ()]; + | ^^ expected `usize`, found `()` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0308`. diff --git a/src/test/rustdoc-ui/issue-58473-2.rs b/tests/rustdoc-ui/issue-58473-2.rs index 000b6a329..000b6a329 100644 --- a/src/test/rustdoc-ui/issue-58473-2.rs +++ b/tests/rustdoc-ui/issue-58473-2.rs diff --git a/src/test/rustdoc-ui/issue-58473.rs b/tests/rustdoc-ui/issue-58473.rs index 44e1f58d0..44e1f58d0 100644 --- a/src/test/rustdoc-ui/issue-58473.rs +++ b/tests/rustdoc-ui/issue-58473.rs diff --git a/src/test/rustdoc-ui/issue-61592-2.rs b/tests/rustdoc-ui/issue-61592-2.rs index 5b4fc5ee7..5b4fc5ee7 100644 --- a/src/test/rustdoc-ui/issue-61592-2.rs +++ b/tests/rustdoc-ui/issue-61592-2.rs diff --git a/src/test/rustdoc-ui/issue-61592-2.stderr b/tests/rustdoc-ui/issue-61592-2.stderr index 1b7f8bb55..1b7f8bb55 100644 --- a/src/test/rustdoc-ui/issue-61592-2.stderr +++ b/tests/rustdoc-ui/issue-61592-2.stderr diff --git a/src/test/rustdoc-ui/issue-61592.rs b/tests/rustdoc-ui/issue-61592.rs index 66772557f..66772557f 100644 --- a/src/test/rustdoc-ui/issue-61592.rs +++ b/tests/rustdoc-ui/issue-61592.rs diff --git a/src/test/rustdoc-ui/issue-61592.stderr b/tests/rustdoc-ui/issue-61592.stderr index 9c9c9106f..9c9c9106f 100644 --- a/src/test/rustdoc-ui/issue-61592.stderr +++ b/tests/rustdoc-ui/issue-61592.stderr diff --git a/src/test/rustdoc-ui/issue-61732.rs b/tests/rustdoc-ui/issue-61732.rs index 4bd8efeaa..4bd8efeaa 100644 --- a/src/test/rustdoc-ui/issue-61732.rs +++ b/tests/rustdoc-ui/issue-61732.rs diff --git a/src/test/rustdoc-ui/issue-61732.stderr b/tests/rustdoc-ui/issue-61732.stderr index 38fadaa44..38fadaa44 100644 --- a/src/test/rustdoc-ui/issue-61732.stderr +++ b/tests/rustdoc-ui/issue-61732.stderr diff --git a/src/test/rustdoc-ui/issue-74134.private.stderr b/tests/rustdoc-ui/issue-74134.private.stderr index 44c88b618..44c88b618 100644 --- a/src/test/rustdoc-ui/issue-74134.private.stderr +++ b/tests/rustdoc-ui/issue-74134.private.stderr diff --git a/src/test/rustdoc-ui/issue-74134.public.stderr b/tests/rustdoc-ui/issue-74134.public.stderr index 5b1887b83..5b1887b83 100644 --- a/src/test/rustdoc-ui/issue-74134.public.stderr +++ b/tests/rustdoc-ui/issue-74134.public.stderr diff --git a/src/test/rustdoc-ui/issue-74134.rs b/tests/rustdoc-ui/issue-74134.rs index b1be9123a..b1be9123a 100644 --- a/src/test/rustdoc-ui/issue-74134.rs +++ b/tests/rustdoc-ui/issue-74134.rs diff --git a/src/test/rustdoc-ui/issue-79465.rs b/tests/rustdoc-ui/issue-79465.rs index f1a77982f..f1a77982f 100644 --- a/src/test/rustdoc-ui/issue-79465.rs +++ b/tests/rustdoc-ui/issue-79465.rs diff --git a/src/test/rustdoc-ui/issue-79465.stderr b/tests/rustdoc-ui/issue-79465.stderr index 489cc1442..489cc1442 100644 --- a/src/test/rustdoc-ui/issue-79465.stderr +++ b/tests/rustdoc-ui/issue-79465.stderr diff --git a/src/test/rustdoc-ui/issue-79467.rs b/tests/rustdoc-ui/issue-79467.rs index eb0b9b380..eb0b9b380 100644 --- a/src/test/rustdoc-ui/issue-79467.rs +++ b/tests/rustdoc-ui/issue-79467.rs diff --git a/src/test/rustdoc-ui/issue-79467.stderr b/tests/rustdoc-ui/issue-79467.stderr index 561513a43..561513a43 100644 --- a/src/test/rustdoc-ui/issue-79467.stderr +++ b/tests/rustdoc-ui/issue-79467.stderr diff --git a/src/test/rustdoc-ui/issue-79494.rs b/tests/rustdoc-ui/issue-79494.rs index fc39424b7..fc39424b7 100644 --- a/src/test/rustdoc-ui/issue-79494.rs +++ b/tests/rustdoc-ui/issue-79494.rs diff --git a/src/test/rustdoc-ui/issue-79494.stderr b/tests/rustdoc-ui/issue-79494.stderr index 7ed5ed382..7ed5ed382 100644 --- a/src/test/rustdoc-ui/issue-79494.stderr +++ b/tests/rustdoc-ui/issue-79494.stderr diff --git a/src/test/rustdoc-ui/issue-80992.rs b/tests/rustdoc-ui/issue-80992.rs index 8983439bb..80ff225b8 100644 --- a/src/test/rustdoc-ui/issue-80992.rs +++ b/tests/rustdoc-ui/issue-80992.rs @@ -1,6 +1,6 @@ // check-pass // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" pub fn test() -> Result<(), ()> { diff --git a/src/test/rustdoc-ui/issue-80992.stdout b/tests/rustdoc-ui/issue-80992.stdout index d2b1cd1d5..d2b1cd1d5 100644 --- a/src/test/rustdoc-ui/issue-80992.stdout +++ b/tests/rustdoc-ui/issue-80992.stdout diff --git a/src/test/rustdoc-ui/issue-81662-shortness.rs b/tests/rustdoc-ui/issue-81662-shortness.rs index 27a21a313..8a90813b3 100644 --- a/src/test/rustdoc-ui/issue-81662-shortness.rs +++ b/tests/rustdoc-ui/issue-81662-shortness.rs @@ -1,5 +1,5 @@ // compile-flags:--test --error-format=short -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 diff --git a/src/test/rustdoc-ui/issue-81662-shortness.stdout b/tests/rustdoc-ui/issue-81662-shortness.stdout index 748113be3..748113be3 100644 --- a/src/test/rustdoc-ui/issue-81662-shortness.stdout +++ b/tests/rustdoc-ui/issue-81662-shortness.stdout diff --git a/src/test/rustdoc-ui/issue-83883-describe-lints.rs b/tests/rustdoc-ui/issue-83883-describe-lints.rs index 0474d6c14..0474d6c14 100644 --- a/src/test/rustdoc-ui/issue-83883-describe-lints.rs +++ b/tests/rustdoc-ui/issue-83883-describe-lints.rs diff --git a/src/test/rustdoc-ui/issue-83883-describe-lints.stdout b/tests/rustdoc-ui/issue-83883-describe-lints.stdout index bbf66a315..bbf66a315 100644 --- a/src/test/rustdoc-ui/issue-83883-describe-lints.stdout +++ b/tests/rustdoc-ui/issue-83883-describe-lints.stdout diff --git a/src/test/rustdoc-ui/issue-91134.rs b/tests/rustdoc-ui/issue-91134.rs index d2ff3a252..42703ee4d 100644 --- a/src/test/rustdoc-ui/issue-91134.rs +++ b/tests/rustdoc-ui/issue-91134.rs @@ -1,7 +1,7 @@ // compile-flags: --test --crate-name=empty_fn --extern=empty_fn --test-args=--test-threads=1 // aux-build:empty-fn.rs // check-pass -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // edition:2021 diff --git a/src/test/rustdoc-ui/issue-91134.stdout b/tests/rustdoc-ui/issue-91134.stdout index 084062743..084062743 100644 --- a/src/test/rustdoc-ui/issue-91134.stdout +++ b/tests/rustdoc-ui/issue-91134.stdout diff --git a/src/test/rustdoc-ui/issue-91713.rs b/tests/rustdoc-ui/issue-91713.rs index 610bbf11d..610bbf11d 100644 --- a/src/test/rustdoc-ui/issue-91713.rs +++ b/tests/rustdoc-ui/issue-91713.rs diff --git a/src/test/rustdoc-ui/issue-91713.stderr b/tests/rustdoc-ui/issue-91713.stderr index 44ead7a1d..44ead7a1d 100644 --- a/src/test/rustdoc-ui/issue-91713.stderr +++ b/tests/rustdoc-ui/issue-91713.stderr diff --git a/src/test/rustdoc-ui/issue-91713.stdout b/tests/rustdoc-ui/issue-91713.stdout index 167835243..167835243 100644 --- a/src/test/rustdoc-ui/issue-91713.stdout +++ b/tests/rustdoc-ui/issue-91713.stdout diff --git a/tests/rustdoc-ui/issue-96287.rs b/tests/rustdoc-ui/issue-96287.rs new file mode 100644 index 000000000..8d8b4456e --- /dev/null +++ b/tests/rustdoc-ui/issue-96287.rs @@ -0,0 +1,17 @@ +#![feature(type_alias_impl_trait)] + +pub trait TraitWithAssoc { + type Assoc; +} + +pub type Foo<V> = impl Trait<V::Assoc>; +//~^ ERROR +//~^^ ERROR + +pub trait Trait<U> {} + +impl<W> Trait<W> for () {} + +pub fn foo_desugared<T: TraitWithAssoc>(_: T) -> Foo<T> { + () +} diff --git a/tests/rustdoc-ui/issue-96287.stderr b/tests/rustdoc-ui/issue-96287.stderr new file mode 100644 index 000000000..0236b9fe6 --- /dev/null +++ b/tests/rustdoc-ui/issue-96287.stderr @@ -0,0 +1,15 @@ +error[E0220]: associated type `Assoc` not found for `V` + --> $DIR/issue-96287.rs:7:33 + | +LL | pub type Foo<V> = impl Trait<V::Assoc>; + | ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc` + +error[E0220]: associated type `Assoc` not found for `V` + --> $DIR/issue-96287.rs:7:33 + | +LL | pub type Foo<V> = impl Trait<V::Assoc>; + | ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc` + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0220`. diff --git a/src/test/rustdoc-ui/issue-98690.rs b/tests/rustdoc-ui/issue-98690.rs index fe9bd87ab..fe9bd87ab 100644 --- a/src/test/rustdoc-ui/issue-98690.rs +++ b/tests/rustdoc-ui/issue-98690.rs diff --git a/src/test/rustdoc-ui/issue-98690.stderr b/tests/rustdoc-ui/issue-98690.stderr index 47d94f99a..47d94f99a 100644 --- a/src/test/rustdoc-ui/issue-98690.stderr +++ b/tests/rustdoc-ui/issue-98690.stderr diff --git a/src/test/rustdoc-ui/lint-group.rs b/tests/rustdoc-ui/lint-group.rs index 09aca6d2b..09aca6d2b 100644 --- a/src/test/rustdoc-ui/lint-group.rs +++ b/tests/rustdoc-ui/lint-group.rs diff --git a/src/test/rustdoc-ui/lint-group.stderr b/tests/rustdoc-ui/lint-group.stderr index 4f2c96588..4f2c96588 100644 --- a/src/test/rustdoc-ui/lint-group.stderr +++ b/tests/rustdoc-ui/lint-group.stderr diff --git a/src/test/rustdoc-ui/lint-missing-doc-code-example.rs b/tests/rustdoc-ui/lint-missing-doc-code-example.rs index 40f35728d..40f35728d 100644 --- a/src/test/rustdoc-ui/lint-missing-doc-code-example.rs +++ b/tests/rustdoc-ui/lint-missing-doc-code-example.rs diff --git a/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr b/tests/rustdoc-ui/lint-missing-doc-code-example.stderr index f93312501..f93312501 100644 --- a/src/test/rustdoc-ui/lint-missing-doc-code-example.stderr +++ b/tests/rustdoc-ui/lint-missing-doc-code-example.stderr diff --git a/src/test/rustdoc-ui/macro-docs.rs b/tests/rustdoc-ui/macro-docs.rs index 0e8472eb2..0e8472eb2 100644 --- a/src/test/rustdoc-ui/macro-docs.rs +++ b/tests/rustdoc-ui/macro-docs.rs diff --git a/src/test/rustdoc-ui/macro-docs.stderr b/tests/rustdoc-ui/macro-docs.stderr index 2b136f5be..2b136f5be 100644 --- a/src/test/rustdoc-ui/macro-docs.stderr +++ b/tests/rustdoc-ui/macro-docs.stderr diff --git a/src/test/rustdoc-ui/macro-docs.stdout b/tests/rustdoc-ui/macro-docs.stdout index e69de29bb..e69de29bb 100644 --- a/src/test/rustdoc-ui/macro-docs.stdout +++ b/tests/rustdoc-ui/macro-docs.stdout diff --git a/src/test/rustdoc-ui/no-crate-level-doc-lint.rs b/tests/rustdoc-ui/no-crate-level-doc-lint.rs index a186410ac..a186410ac 100644 --- a/src/test/rustdoc-ui/no-crate-level-doc-lint.rs +++ b/tests/rustdoc-ui/no-crate-level-doc-lint.rs diff --git a/src/test/rustdoc-ui/no-crate-level-doc-lint.stderr b/tests/rustdoc-ui/no-crate-level-doc-lint.stderr index fb3a5e415..fb3a5e415 100644 --- a/src/test/rustdoc-ui/no-crate-level-doc-lint.stderr +++ b/tests/rustdoc-ui/no-crate-level-doc-lint.stderr diff --git a/src/test/rustdoc-ui/no-run-flag-error.rs b/tests/rustdoc-ui/no-run-flag-error.rs index 4ead62148..4ead62148 100644 --- a/src/test/rustdoc-ui/no-run-flag-error.rs +++ b/tests/rustdoc-ui/no-run-flag-error.rs diff --git a/src/test/rustdoc-ui/no-run-flag-error.stderr b/tests/rustdoc-ui/no-run-flag-error.stderr index d032646c3..d032646c3 100644 --- a/src/test/rustdoc-ui/no-run-flag-error.stderr +++ b/tests/rustdoc-ui/no-run-flag-error.stderr diff --git a/src/test/rustdoc-ui/no-run-flag.rs b/tests/rustdoc-ui/no-run-flag.rs index da1672c4a..181730eb4 100644 --- a/src/test/rustdoc-ui/no-run-flag.rs +++ b/tests/rustdoc-ui/no-run-flag.rs @@ -2,7 +2,7 @@ // check-pass // compile-flags:-Z unstable-options --test --no-run --test-args=--test-threads=1 -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" /// ``` diff --git a/src/test/rustdoc-ui/no-run-flag.stdout b/tests/rustdoc-ui/no-run-flag.stdout index 02f28aaf6..02f28aaf6 100644 --- a/src/test/rustdoc-ui/no-run-flag.stdout +++ b/tests/rustdoc-ui/no-run-flag.stdout diff --git a/tests/rustdoc-ui/nocapture-fail.rs b/tests/rustdoc-ui/nocapture-fail.rs new file mode 100644 index 000000000..9a3fb592c --- /dev/null +++ b/tests/rustdoc-ui/nocapture-fail.rs @@ -0,0 +1,12 @@ +// check-pass +// compile-flags:--test -Zunstable-options --nocapture +// normalize-stderr-test: "tests/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" + +/// ```compile_fail +/// fn foo() { +/// Input: 123 +/// } +/// ``` +pub struct Foo; diff --git a/src/test/rustdoc-ui/nocapture-fail.stderr b/tests/rustdoc-ui/nocapture-fail.stderr index b65b622c1..b65b622c1 100644 --- a/src/test/rustdoc-ui/nocapture-fail.stderr +++ b/tests/rustdoc-ui/nocapture-fail.stderr diff --git a/src/test/rustdoc-ui/nocapture-fail.stdout b/tests/rustdoc-ui/nocapture-fail.stdout index 754f77db5..754f77db5 100644 --- a/src/test/rustdoc-ui/nocapture-fail.stdout +++ b/tests/rustdoc-ui/nocapture-fail.stdout diff --git a/src/test/rustdoc-ui/nocapture.rs b/tests/rustdoc-ui/nocapture.rs index 321f5ca08..3eb38f2fb 100644 --- a/src/test/rustdoc-ui/nocapture.rs +++ b/tests/rustdoc-ui/nocapture.rs @@ -1,6 +1,6 @@ // check-pass // compile-flags:--test -Zunstable-options --nocapture -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" /// ``` diff --git a/src/test/rustdoc-ui/nocapture.stderr b/tests/rustdoc-ui/nocapture.stderr index af6415db3..af6415db3 100644 --- a/src/test/rustdoc-ui/nocapture.stderr +++ b/tests/rustdoc-ui/nocapture.stderr diff --git a/src/test/rustdoc-ui/nocapture.stdout b/tests/rustdoc-ui/nocapture.stdout index 4880e75da..4880e75da 100644 --- a/src/test/rustdoc-ui/nocapture.stdout +++ b/tests/rustdoc-ui/nocapture.stdout diff --git a/src/test/rustdoc-ui/normalize-cycle.rs b/tests/rustdoc-ui/normalize-cycle.rs index 1ed9ac6bc..1ed9ac6bc 100644 --- a/src/test/rustdoc-ui/normalize-cycle.rs +++ b/tests/rustdoc-ui/normalize-cycle.rs diff --git a/src/test/rustdoc-ui/normalize-overflow.rs b/tests/rustdoc-ui/normalize-overflow.rs index 3698fe70e..3698fe70e 100644 --- a/src/test/rustdoc-ui/normalize-overflow.rs +++ b/tests/rustdoc-ui/normalize-overflow.rs diff --git a/src/test/rustdoc-ui/output-format-html-stable.rs b/tests/rustdoc-ui/output-format-html-stable.rs index fa0362640..fa0362640 100644 --- a/src/test/rustdoc-ui/output-format-html-stable.rs +++ b/tests/rustdoc-ui/output-format-html-stable.rs diff --git a/src/test/rustdoc-ui/private-doc-test.rs b/tests/rustdoc-ui/private-doc-test.rs index a1f9f8dca..a1f9f8dca 100644 --- a/src/test/rustdoc-ui/private-doc-test.rs +++ b/tests/rustdoc-ui/private-doc-test.rs diff --git a/src/test/rustdoc-ui/private-item-doc-test.rs b/tests/rustdoc-ui/private-item-doc-test.rs index 1a3d6cc63..1a3d6cc63 100644 --- a/src/test/rustdoc-ui/private-item-doc-test.rs +++ b/tests/rustdoc-ui/private-item-doc-test.rs diff --git a/src/test/rustdoc-ui/private-item-doc-test.stderr b/tests/rustdoc-ui/private-item-doc-test.stderr index 5df613298..5df613298 100644 --- a/src/test/rustdoc-ui/private-item-doc-test.stderr +++ b/tests/rustdoc-ui/private-item-doc-test.stderr diff --git a/src/test/rustdoc-ui/private-public-item-doc-test.rs b/tests/rustdoc-ui/private-public-item-doc-test.rs index 7cc62b38c..7cc62b38c 100644 --- a/src/test/rustdoc-ui/private-public-item-doc-test.rs +++ b/tests/rustdoc-ui/private-public-item-doc-test.rs diff --git a/src/test/rustdoc-ui/private-public-item-doc-test.stderr b/tests/rustdoc-ui/private-public-item-doc-test.stderr index f50dbd184..f50dbd184 100644 --- a/src/test/rustdoc-ui/private-public-item-doc-test.stderr +++ b/tests/rustdoc-ui/private-public-item-doc-test.stderr diff --git a/src/test/rustdoc-ui/pub-export-lint.rs b/tests/rustdoc-ui/pub-export-lint.rs index f2e66b77b..f2e66b77b 100644 --- a/src/test/rustdoc-ui/pub-export-lint.rs +++ b/tests/rustdoc-ui/pub-export-lint.rs diff --git a/src/test/rustdoc-ui/pub-export-lint.stderr b/tests/rustdoc-ui/pub-export-lint.stderr index 81ef79961..81ef79961 100644 --- a/src/test/rustdoc-ui/pub-export-lint.stderr +++ b/tests/rustdoc-ui/pub-export-lint.stderr diff --git a/src/test/rustdoc-ui/public-reexported-item-doc-test.rs b/tests/rustdoc-ui/public-reexported-item-doc-test.rs index b86a53305..b86a53305 100644 --- a/src/test/rustdoc-ui/public-reexported-item-doc-test.rs +++ b/tests/rustdoc-ui/public-reexported-item-doc-test.rs diff --git a/src/test/rustdoc-ui/range-pattern.rs b/tests/rustdoc-ui/range-pattern.rs index fd255d02f..fd255d02f 100644 --- a/src/test/rustdoc-ui/range-pattern.rs +++ b/tests/rustdoc-ui/range-pattern.rs diff --git a/src/test/rustdoc-ui/recursive-deref-ice.rs b/tests/rustdoc-ui/recursive-deref-ice.rs index c44fd27f4..c44fd27f4 100644 --- a/src/test/rustdoc-ui/recursive-deref-ice.rs +++ b/tests/rustdoc-ui/recursive-deref-ice.rs diff --git a/src/test/rustdoc-ui/reference-link-reports-error-once.rs b/tests/rustdoc-ui/reference-link-reports-error-once.rs index 71bd2c522..71bd2c522 100644 --- a/src/test/rustdoc-ui/reference-link-reports-error-once.rs +++ b/tests/rustdoc-ui/reference-link-reports-error-once.rs diff --git a/src/test/rustdoc-ui/reference-link-reports-error-once.stderr b/tests/rustdoc-ui/reference-link-reports-error-once.stderr index 2ab67090f..2ab67090f 100644 --- a/src/test/rustdoc-ui/reference-link-reports-error-once.stderr +++ b/tests/rustdoc-ui/reference-link-reports-error-once.stderr diff --git a/src/test/rustdoc-ui/reference-links.rs b/tests/rustdoc-ui/reference-links.rs index e81e03446..e81e03446 100644 --- a/src/test/rustdoc-ui/reference-links.rs +++ b/tests/rustdoc-ui/reference-links.rs diff --git a/src/test/rustdoc-ui/reference-links.stderr b/tests/rustdoc-ui/reference-links.stderr index c98a2fd7c..c98a2fd7c 100644 --- a/src/test/rustdoc-ui/reference-links.stderr +++ b/tests/rustdoc-ui/reference-links.stderr diff --git a/src/test/rustdoc-ui/renamed-lint-still-applies.rs b/tests/rustdoc-ui/renamed-lint-still-applies.rs index a4d3a4b49..a4d3a4b49 100644 --- a/src/test/rustdoc-ui/renamed-lint-still-applies.rs +++ b/tests/rustdoc-ui/renamed-lint-still-applies.rs diff --git a/src/test/rustdoc-ui/renamed-lint-still-applies.stderr b/tests/rustdoc-ui/renamed-lint-still-applies.stderr index ee9b67cb9..ee9b67cb9 100644 --- a/src/test/rustdoc-ui/renamed-lint-still-applies.stderr +++ b/tests/rustdoc-ui/renamed-lint-still-applies.stderr diff --git a/src/test/rustdoc-ui/run-directory.correct.stdout b/tests/rustdoc-ui/run-directory.correct.stdout index e9b275479..e9b275479 100644 --- a/src/test/rustdoc-ui/run-directory.correct.stdout +++ b/tests/rustdoc-ui/run-directory.correct.stdout diff --git a/src/test/rustdoc-ui/run-directory.incorrect.stdout b/tests/rustdoc-ui/run-directory.incorrect.stdout index 97a5dbc5c..97a5dbc5c 100644 --- a/src/test/rustdoc-ui/run-directory.incorrect.stdout +++ b/tests/rustdoc-ui/run-directory.incorrect.stdout diff --git a/src/test/rustdoc-ui/run-directory.rs b/tests/rustdoc-ui/run-directory.rs index 0d432c1e6..bbceaaf82 100644 --- a/src/test/rustdoc-ui/run-directory.rs +++ b/tests/rustdoc-ui/run-directory.rs @@ -4,7 +4,7 @@ // check-pass // [correct]compile-flags:--test --test-run-directory={{src-base}} -Zunstable-options // [incorrect]compile-flags:--test --test-run-directory={{src-base}}/coverage -Zunstable-options -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" /// ``` diff --git a/src/test/rustdoc-ui/rustc-check-passes.rs b/tests/rustdoc-ui/rustc-check-passes.rs index 56d59164d..56d59164d 100644 --- a/src/test/rustdoc-ui/rustc-check-passes.rs +++ b/tests/rustdoc-ui/rustc-check-passes.rs diff --git a/src/test/rustdoc-ui/rustc-check-passes.stderr b/tests/rustdoc-ui/rustc-check-passes.stderr index 83f4e87c6..83f4e87c6 100644 --- a/src/test/rustdoc-ui/rustc-check-passes.stderr +++ b/tests/rustdoc-ui/rustc-check-passes.stderr diff --git a/src/test/rustdoc-ui/scrape-examples-fail-if-type-error.rs b/tests/rustdoc-ui/scrape-examples-fail-if-type-error.rs index 8f4fde96d..8f4fde96d 100644 --- a/src/test/rustdoc-ui/scrape-examples-fail-if-type-error.rs +++ b/tests/rustdoc-ui/scrape-examples-fail-if-type-error.rs diff --git a/src/test/rustdoc-ui/scrape-examples-fail-if-type-error.stderr b/tests/rustdoc-ui/scrape-examples-fail-if-type-error.stderr index 750aa3207..750aa3207 100644 --- a/src/test/rustdoc-ui/scrape-examples-fail-if-type-error.stderr +++ b/tests/rustdoc-ui/scrape-examples-fail-if-type-error.stderr diff --git a/src/test/rustdoc-ui/scrape-examples-ice.rs b/tests/rustdoc-ui/scrape-examples-ice.rs index d629b62a7..d629b62a7 100644 --- a/src/test/rustdoc-ui/scrape-examples-ice.rs +++ b/tests/rustdoc-ui/scrape-examples-ice.rs diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options-1.rs b/tests/rustdoc-ui/scrape-examples-wrong-options-1.rs index a1f005c32..a1f005c32 100644 --- a/src/test/rustdoc-ui/scrape-examples-wrong-options-1.rs +++ b/tests/rustdoc-ui/scrape-examples-wrong-options-1.rs diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options-1.stderr b/tests/rustdoc-ui/scrape-examples-wrong-options-1.stderr index eb8e9f799..eb8e9f799 100644 --- a/src/test/rustdoc-ui/scrape-examples-wrong-options-1.stderr +++ b/tests/rustdoc-ui/scrape-examples-wrong-options-1.stderr diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options-2.rs b/tests/rustdoc-ui/scrape-examples-wrong-options-2.rs index 4aacec7f0..4aacec7f0 100644 --- a/src/test/rustdoc-ui/scrape-examples-wrong-options-2.rs +++ b/tests/rustdoc-ui/scrape-examples-wrong-options-2.rs diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options-2.stderr b/tests/rustdoc-ui/scrape-examples-wrong-options-2.stderr index eb8e9f799..eb8e9f799 100644 --- a/src/test/rustdoc-ui/scrape-examples-wrong-options-2.stderr +++ b/tests/rustdoc-ui/scrape-examples-wrong-options-2.stderr diff --git a/src/test/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs b/tests/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs index ce51556dd..ce51556dd 100644 --- a/src/test/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs +++ b/tests/rustdoc-ui/search-index-generics-recursion-bug-issue-59502.rs diff --git a/src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs b/tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs index 476e3b2d4..476e3b2d4 100644 --- a/src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs +++ b/tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.rs diff --git a/src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr b/tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr index 3856a2513..3856a2513 100644 --- a/src/test/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr +++ b/tests/rustdoc-ui/suggestions/html-as-generics-no-suggestions.stderr diff --git a/src/test/rustdoc-ui/suggestions/html-as-generics.fixed b/tests/rustdoc-ui/suggestions/html-as-generics.fixed index 003542d38..003542d38 100644 --- a/src/test/rustdoc-ui/suggestions/html-as-generics.fixed +++ b/tests/rustdoc-ui/suggestions/html-as-generics.fixed diff --git a/src/test/rustdoc-ui/suggestions/html-as-generics.rs b/tests/rustdoc-ui/suggestions/html-as-generics.rs index 4254a660b..4254a660b 100644 --- a/src/test/rustdoc-ui/suggestions/html-as-generics.rs +++ b/tests/rustdoc-ui/suggestions/html-as-generics.rs diff --git a/src/test/rustdoc-ui/suggestions/html-as-generics.stderr b/tests/rustdoc-ui/suggestions/html-as-generics.stderr index 481278bda..481278bda 100644 --- a/src/test/rustdoc-ui/suggestions/html-as-generics.stderr +++ b/tests/rustdoc-ui/suggestions/html-as-generics.stderr diff --git a/src/test/rustdoc-ui/test-compile-fail1.rs b/tests/rustdoc-ui/test-compile-fail1.rs index a05390238..a05390238 100644 --- a/src/test/rustdoc-ui/test-compile-fail1.rs +++ b/tests/rustdoc-ui/test-compile-fail1.rs diff --git a/src/test/rustdoc-ui/test-compile-fail1.stderr b/tests/rustdoc-ui/test-compile-fail1.stderr index 72915e46b..72915e46b 100644 --- a/src/test/rustdoc-ui/test-compile-fail1.stderr +++ b/tests/rustdoc-ui/test-compile-fail1.stderr diff --git a/src/test/rustdoc-ui/test-compile-fail2.rs b/tests/rustdoc-ui/test-compile-fail2.rs index 651ded0a0..651ded0a0 100644 --- a/src/test/rustdoc-ui/test-compile-fail2.rs +++ b/tests/rustdoc-ui/test-compile-fail2.rs diff --git a/src/test/rustdoc-ui/test-compile-fail2.stderr b/tests/rustdoc-ui/test-compile-fail2.stderr index cee5b63cf..cee5b63cf 100644 --- a/src/test/rustdoc-ui/test-compile-fail2.stderr +++ b/tests/rustdoc-ui/test-compile-fail2.stderr diff --git a/src/test/rustdoc-ui/test-compile-fail3.rs b/tests/rustdoc-ui/test-compile-fail3.rs index faa30ad83..faa30ad83 100644 --- a/src/test/rustdoc-ui/test-compile-fail3.rs +++ b/tests/rustdoc-ui/test-compile-fail3.rs diff --git a/src/test/rustdoc-ui/test-compile-fail3.stderr b/tests/rustdoc-ui/test-compile-fail3.stderr index fab801b3b..fab801b3b 100644 --- a/src/test/rustdoc-ui/test-compile-fail3.stderr +++ b/tests/rustdoc-ui/test-compile-fail3.stderr diff --git a/src/test/rustdoc-ui/test-no_std.rs b/tests/rustdoc-ui/test-no_std.rs index ee919985e..51abf1c72 100644 --- a/src/test/rustdoc-ui/test-no_std.rs +++ b/tests/rustdoc-ui/test-no_std.rs @@ -1,5 +1,5 @@ // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // check-pass diff --git a/src/test/rustdoc-ui/test-no_std.stdout b/tests/rustdoc-ui/test-no_std.stdout index 8d5a30804..8d5a30804 100644 --- a/src/test/rustdoc-ui/test-no_std.stdout +++ b/tests/rustdoc-ui/test-no_std.stdout diff --git a/src/test/rustdoc-ui/test-type.rs b/tests/rustdoc-ui/test-type.rs index 882da5c25..7f5a8f3fc 100644 --- a/src/test/rustdoc-ui/test-type.rs +++ b/tests/rustdoc-ui/test-type.rs @@ -1,6 +1,6 @@ // compile-flags: --test --test-args=--test-threads=1 // check-pass -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" /// ``` diff --git a/src/test/rustdoc-ui/test-type.stdout b/tests/rustdoc-ui/test-type.stdout index a66fd240d..a66fd240d 100644 --- a/src/test/rustdoc-ui/test-type.stdout +++ b/tests/rustdoc-ui/test-type.stdout diff --git a/src/test/rustdoc-ui/track-diagnostics.rs b/tests/rustdoc-ui/track-diagnostics.rs index fcc50a7ab..fcc50a7ab 100644 --- a/src/test/rustdoc-ui/track-diagnostics.rs +++ b/tests/rustdoc-ui/track-diagnostics.rs diff --git a/src/test/rustdoc-ui/track-diagnostics.stderr b/tests/rustdoc-ui/track-diagnostics.stderr index ec3031862..ec3031862 100644 --- a/src/test/rustdoc-ui/track-diagnostics.stderr +++ b/tests/rustdoc-ui/track-diagnostics.stderr diff --git a/src/test/rustdoc-ui/tuple-variadic-check.rs b/tests/rustdoc-ui/tuple-variadic-check.rs index 505de5348..505de5348 100644 --- a/src/test/rustdoc-ui/tuple-variadic-check.rs +++ b/tests/rustdoc-ui/tuple-variadic-check.rs diff --git a/src/test/rustdoc-ui/tuple-variadic-check.stderr b/tests/rustdoc-ui/tuple-variadic-check.stderr index d127fb858..d127fb858 100644 --- a/src/test/rustdoc-ui/tuple-variadic-check.stderr +++ b/tests/rustdoc-ui/tuple-variadic-check.stderr diff --git a/tests/rustdoc-ui/unable-fulfill-trait.rs b/tests/rustdoc-ui/unable-fulfill-trait.rs new file mode 100644 index 000000000..703570822 --- /dev/null +++ b/tests/rustdoc-ui/unable-fulfill-trait.rs @@ -0,0 +1,13 @@ +// This test ensures that it's not crashing rustdoc. + +pub struct Foo<'a, 'b, T> { + field1: dyn Bar<'a, 'b,>, + //~^ ERROR + //~^^ ERROR +} + +pub trait Bar<'x, 's, U> + where U: 'x, + Self:'x, + Self:'s +{} diff --git a/tests/rustdoc-ui/unable-fulfill-trait.stderr b/tests/rustdoc-ui/unable-fulfill-trait.stderr new file mode 100644 index 000000000..a16b5b6eb --- /dev/null +++ b/tests/rustdoc-ui/unable-fulfill-trait.stderr @@ -0,0 +1,26 @@ +error[E0107]: this trait takes 1 generic argument but 0 generic arguments were supplied + --> $DIR/unable-fulfill-trait.rs:4:17 + | +LL | field1: dyn Bar<'a, 'b,>, + | ^^^ expected 1 generic argument + | +note: trait defined here, with 1 generic parameter: `U` + --> $DIR/unable-fulfill-trait.rs:9:11 + | +LL | pub trait Bar<'x, 's, U> + | ^^^ - +help: add missing generic argument + | +LL | field1: dyn Bar<'a, 'b, U,>, + | +++ + +error[E0227]: ambiguous lifetime bound, explicit lifetime bound required + --> $DIR/unable-fulfill-trait.rs:4:13 + | +LL | field1: dyn Bar<'a, 'b,>, + | ^^^^^^^^^^^^^^^^ + +error: aborting due to 2 previous errors + +Some errors have detailed explanations: E0107, E0227. +For more information about an error, try `rustc --explain E0107`. diff --git a/src/test/rustdoc-ui/unknown-renamed-lints.rs b/tests/rustdoc-ui/unknown-renamed-lints.rs index ddf03dd07..ddf03dd07 100644 --- a/src/test/rustdoc-ui/unknown-renamed-lints.rs +++ b/tests/rustdoc-ui/unknown-renamed-lints.rs diff --git a/src/test/rustdoc-ui/unknown-renamed-lints.stderr b/tests/rustdoc-ui/unknown-renamed-lints.stderr index b105f47d7..b105f47d7 100644 --- a/src/test/rustdoc-ui/unknown-renamed-lints.stderr +++ b/tests/rustdoc-ui/unknown-renamed-lints.stderr diff --git a/src/test/rustdoc-ui/unparseable-doc-test.rs b/tests/rustdoc-ui/unparseable-doc-test.rs index 0cff8cd9a..f0a56a91b 100644 --- a/src/test/rustdoc-ui/unparseable-doc-test.rs +++ b/tests/rustdoc-ui/unparseable-doc-test.rs @@ -1,5 +1,5 @@ // compile-flags: --test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // failure-status: 101 // rustc-env: RUST_BACKTRACE=0 diff --git a/src/test/rustdoc-ui/unparseable-doc-test.stdout b/tests/rustdoc-ui/unparseable-doc-test.stdout index 2641c66f2..2641c66f2 100644 --- a/src/test/rustdoc-ui/unparseable-doc-test.stdout +++ b/tests/rustdoc-ui/unparseable-doc-test.stdout diff --git a/src/test/rustdoc-ui/unused-braces-lint.rs b/tests/rustdoc-ui/unused-braces-lint.rs index be0e31e4b..be0e31e4b 100644 --- a/src/test/rustdoc-ui/unused-braces-lint.rs +++ b/tests/rustdoc-ui/unused-braces-lint.rs diff --git a/src/test/rustdoc-ui/unused-extern-crate.rs b/tests/rustdoc-ui/unused-extern-crate.rs index f703a1837..f703a1837 100644 --- a/src/test/rustdoc-ui/unused-extern-crate.rs +++ b/tests/rustdoc-ui/unused-extern-crate.rs diff --git a/src/test/rustdoc-ui/unused.rs b/tests/rustdoc-ui/unused.rs index 702b24c36..702b24c36 100644 --- a/src/test/rustdoc-ui/unused.rs +++ b/tests/rustdoc-ui/unused.rs diff --git a/src/test/rustdoc-ui/use_both_out_dir_and_output_options.rs b/tests/rustdoc-ui/use_both_out_dir_and_output_options.rs index 5037043f1..5037043f1 100644 --- a/src/test/rustdoc-ui/use_both_out_dir_and_output_options.rs +++ b/tests/rustdoc-ui/use_both_out_dir_and_output_options.rs diff --git a/src/test/rustdoc-ui/use_both_out_dir_and_output_options.stderr b/tests/rustdoc-ui/use_both_out_dir_and_output_options.stderr index 96d2295ac..96d2295ac 100644 --- a/src/test/rustdoc-ui/use_both_out_dir_and_output_options.stderr +++ b/tests/rustdoc-ui/use_both_out_dir_and_output_options.stderr diff --git a/src/test/rustdoc-ui/wasm-safe.rs b/tests/rustdoc-ui/wasm-safe.rs index ba971342b..ba971342b 100644 --- a/src/test/rustdoc-ui/wasm-safe.rs +++ b/tests/rustdoc-ui/wasm-safe.rs diff --git a/src/test/rustdoc-ui/z-help.rs b/tests/rustdoc-ui/z-help.rs index c7cf841b9..c7cf841b9 100644 --- a/src/test/rustdoc-ui/z-help.rs +++ b/tests/rustdoc-ui/z-help.rs diff --git a/src/test/rustdoc-ui/z-help.stdout b/tests/rustdoc-ui/z-help.stdout index 94cf7b942..4bdecdc1b 100644 --- a/src/test/rustdoc-ui/z-help.stdout +++ b/tests/rustdoc-ui/z-help.stdout @@ -1,4 +1,4 @@ - -Z allow-features=val -- only allow the listed language features to be enabled in code (space separated) + -Z allow-features=val -- only allow the listed language features to be enabled in code (comma separated) -Z always-encode-mir=val -- encode MIR of all functions into the crate metadata (default: no) -Z asm-comments=val -- generate comments into the assembly (may change behavior) (default: no) -Z assert-incr-state=val -- assert that the incremental cache is in given state: either `loaded` or `not-loaded`. @@ -8,7 +8,6 @@ -Z branch-protection=val -- set options for branch target identification and pointer authentication on AArch64 -Z cf-protection=val -- instrument control-flow architecture protection -Z cgu-partitioning-strategy=val -- the codegen unit partitioning strategy to use - -Z chalk=val -- enable the experimental Chalk-based trait solving engine -Z codegen-backend=val -- the backend to use -Z combine-cgu=val -- combine CGUs into a single one -Z crate-attr=val -- inject the given attribute in the crate @@ -35,6 +34,8 @@ -Z dump-mir-exclude-pass-number=val -- exclude the pass number when dumping MIR (used in tests) (default: no) -Z dump-mir-graphviz=val -- in addition to `.mir` files, create graphviz `.dot` files (and with `-Z instrument-coverage`, also create a `.dot` file for the MIR-derived coverage graph) (default: no) -Z dump-mir-spanview=val -- in addition to `.mir` files, create `.html` files to view spans for all `statement`s (including terminators), only `terminator` spans, or computed `block` spans (one span encompassing a block's terminator and all statements). If `-Z instrument-coverage` is also enabled, create an additional `.html` file showing the computed coverage spans. + -Z dump-mono-stats=val -- output statistics about monomorphization collection + -Z dump-mono-stats-format=val -- the format to use for -Z dump-mono-stats (`markdown` (default) or `json`) -Z dwarf-version=val -- version of DWARF debug information to emit (default: 2 or 4, depending on platform) -Z dylib-lto=val -- enables LTO for dylib crate type -Z emit-stack-sizes=val -- emit a section containing stack size metadata (default: no) @@ -75,6 +76,7 @@ -Z llvm-plugins=val -- a list LLVM plugins to enable (space separated) -Z llvm-time-trace=val -- generate JSON tracing data file from LLVM data (default: no) -Z location-detail=val -- what location details should be tracked when using caller_location, either `none`, or a comma separated list of location details, for which valid options are `file`, `line`, and `column` (default: `file,line,column`) + -Z log-backtrace=val -- add a backtrace along with logging -Z ls=val -- list the symbols defined by a library crate (default: no) -Z macro-backtrace=val -- show macro backtraces (default: no) -Z maximal-hir-to-mir-coverage=val -- save as much information as possible about the correspondence between MIR and HIR as source scopes (default: no) @@ -91,6 +93,7 @@ -Z no-analysis=val -- parse and expand the source, but run no analysis -Z no-codegen=val -- run all passes except codegen; no output -Z no-generate-arange-section=val -- omit DWARF address ranges that give faster lookups + -Z no-jump-tables=val -- disable the jump tables and lookup tables that can be generated from a switch case lowering -Z no-leak-check=val -- disable the 'leak check' for subtyping; unsound, but useful for tests -Z no-link=val -- compile without linking -Z no-parallel-llvm=val -- run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO) @@ -172,6 +175,7 @@ -Z tls-model=val -- choose the TLS model to use (`rustc --print tls-models` for details) -Z trace-macros=val -- for every macro invocation, print its name and arguments (default: no) -Z track-diagnostics=val -- tracks where in rustc a diagnostic was emitted + -Z trait-solver=val -- specify the trait solver mode used by rustc (default: classic) -Z translate-additional-ftl=val -- additional fluent translation to preferentially use (for testing translation) -Z translate-directionality-markers=val -- emit directionality isolation markers in translated diagnostics -Z translate-lang=val -- language identifier for diagnostic output |