rust/src/test/rustdoc-ui
bors d74b36ea2f Auto merge of #84867 - pnkfelix:rustdoc-revert-deref-recur, r=jyn514
rustdoc: revert deref recur to resume inclusion of impl ExtTrait<Local> for ExtType

As discussed here: https://github.com/rust-lang/rust/issues/82465#issuecomment-829290384, Revert PR #80653 to resolve issue #82465.

Issue #82465 was we had stopped including certain trait implementations, namely implementations on an imported type of an imported trait *instantiated on a local type*. That bug was injected by PR #80653.

Reverting #80653 means we don't list all the methods that you have accessible via recursively applying `Deref`.

[Discussion in last week's rustc triage meeting](https://zulip-archive.rust-lang.org/238009tcompilermeetings/19557weekly2021042954818.html#236680594) led us to conclude that the bug was worse than the enhancement, and there was not an obvious fix for the bug itself. So for the short term we  remove the enhancement, while in the long term we will work on figuring out a way to have our imported trait implementation cake and eat it too.
2021-06-15 00:13:53 +00:00
..
auxiliary Don't load all extern crates unconditionally 2021-04-02 16:34:53 -04:00
coverage Add back missing trait test 2021-04-09 09:10:11 -04:00
error-in-impl-trait Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
intra-doc rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
assoc-item-not-in-scope.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
assoc-item-not-in-scope.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
bare-urls.fixed Run rustfix for bare-urls test 2021-04-10 18:39:05 -07:00
bare-urls.rs Run rustfix for bare-urls test 2021-04-10 18:39:05 -07:00
bare-urls.stderr Add explanatory note to bare_urls lint 2021-04-12 20:25:20 -07:00
cfg-test.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
cfg-test.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
check-attr-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr-test.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-attr.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
check-doc-alias-attr-location.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
check-doc-alias-attr-location.stderr Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
check-doc-alias-attr.rs Update doc alias ui tests 2021-03-11 22:33:40 +01:00
check-doc-alias-attr.stderr Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
check-fail.rs Rename rustdoc to rustdoc::all 2021-03-05 15:26:55 -05:00
check-fail.stderr Rename rustdoc to rustdoc::all 2021-03-05 15:26:55 -05:00
check.rs rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
check.stderr rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
commandline-argfile-badutf8.args rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-badutf8.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-badutf8.stderr rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile-missing.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
commandline-argfile-missing.stderr rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile.args rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
commandline-argfile.rs rustdoc: Support argument files 2021-02-19 02:32:45 +01:00
deny-intra-link-resolution-failure.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
deny-intra-link-resolution-failure.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
deny-missing-docs-crate.rs Removed more copyright notices. 2019-01-13 19:47:02 +00:00
deny-missing-docs-crate.stderr fix one more test 2020-03-22 17:18:30 -05:00
deny-missing-docs-macro.rs Removed more copyright notices. 2019-01-13 19:47:02 +00:00
deny-missing-docs-macro.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
deprecated-attrs.rs Report that doc(plugins) doesn't work using diagnostics instead of println! 2021-03-02 11:38:07 -05:00
deprecated-attrs.stderr Report that doc(plugins) doesn't work using diagnostics instead of println! 2021-03-02 11:38:07 -05:00
deref-generic.rs Balance sidebar Deref cycle check with main content 2021-01-30 14:23:50 +00:00
doc-alias-assoc-const.rs Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
doc-alias-assoc-const.stderr Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
doc-alias-crate-level.rs Remove useless doc_alias feature 2021-01-05 16:20:46 +01:00
doc-alias-crate-level.stderr Add hyphen to "crate level" 2021-03-13 16:29:49 -08:00
doc-alias-same-name.rs Add tests for new doc alias check 2021-01-04 16:30:53 +01:00
doc-alias-same-name.stderr Add tests for new doc alias check 2021-01-04 16:30:53 +01:00
doc-attr.rs Tweak diagnostics 2021-03-14 14:00:02 -07:00
doc-attr.stderr Tweak diagnostics 2021-03-14 14:00:02 -07:00
doc-include-suggestion.rs Remove doc(include) 2021-06-04 08:05:54 -04:00
doc-include-suggestion.stderr Remove doc(include) 2021-06-04 08:05:54 -04:00
doc-spotlight.fixed Fix deny(invalid_doc_attributes) 2021-06-04 15:20:26 -04:00
doc-spotlight.rs Fix deny(invalid_doc_attributes) 2021-06-04 15:20:26 -04:00
doc-spotlight.stderr Fix deny(invalid_doc_attributes) 2021-06-04 15:20:26 -04:00
doc-test-doctest-feature.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-test-doctest-feature.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
doc-test-rustdoc-feature.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doc-test-rustdoc-feature.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
doc-without-codeblock.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
doc-without-codeblock.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
doctest-output.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
doctest-output.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
failed-doctest-compile-fail.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-compile-fail.stdout change based on review 2021-05-03 20:17:15 +02:00
failed-doctest-missing-codes.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-missing-codes.stdout change based on review 2021-05-03 20:17:15 +02:00
failed-doctest-output.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-output.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
failed-doctest-should-panic.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
failed-doctest-should-panic.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
ignore-block-help.rs Add back missing help for ignore blocks 2021-05-17 21:31:03 -04:00
ignore-block-help.stderr Rename INVALID_RUST_CODEBLOCK{,S} 2021-05-17 21:31:04 -04:00
impl-fn-nesting.rs Catch errors for any new item, not just trait implementations 2020-07-15 10:54:06 -04:00
impl-fn-nesting.stderr Catch errors for any new item, not just trait implementations 2020-07-15 10:54:06 -04:00
infinite-recursive-type-impl-trait-return.rs Move from {{closure}}#0 syntax to {closure#0} for (def) path components 2020-09-25 22:46:14 +01:00
infinite-recursive-type-impl-trait-return.stderr Add another test 2020-08-08 10:19:56 -04:00
infinite-recursive-type-impl-trait.rs EXTREMELY hacky fix 2020-08-07 21:26:12 -04:00
infinite-recursive-type-impl-trait.stderr EXTREMELY hacky fix 2020-08-07 21:26:12 -04:00
infinite-recursive-type.rs Don't ICE on infinitely recursive types 2020-07-15 10:54:05 -04:00
infinite-recursive-type.stderr EXTREMELY hacky fix 2020-08-07 21:26:12 -04:00
invalid-cfg.rs Unify rustc and rustdoc parsing of cfg() 2021-05-03 12:49:43 -04:00
invalid-cfg.stderr Unify rustc and rustdoc parsing of cfg() 2021-05-03 12:49:43 -04:00
invalid-doc-attr.rs Error on conflicting #[doc(inline)]/#[doc(no_inline)] attributes 2021-05-08 17:22:26 +02:00
invalid-doc-attr.stderr Error on conflicting #[doc(inline)]/#[doc(no_inline)] attributes 2021-05-08 17:22:26 +02:00
invalid-html-tags.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
invalid-html-tags.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
invalid-keyword.rs Add tests for doc_keyword feature extension 2020-11-27 17:54:28 +01:00
invalid-keyword.stderr Add tests for doc_keyword feature extension 2020-11-27 17:54:28 +01:00
invalid-syntax.rs Add back missing help for ignore blocks 2021-05-17 21:31:03 -04:00
invalid-syntax.stderr Rename INVALID_RUST_CODEBLOCK{,S} 2021-05-17 21:31:04 -04:00
invalid-theme-name.rs Give a better error when --theme is not a CSS file 2021-03-31 14:55:53 -04:00
invalid-theme-name.stderr Give a better error when --theme is not a CSS file 2021-03-31 14:55:53 -04:00
issue-58473-2.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-58473.rs Moving all rustdoc-ui tests to check-pass 2020-04-19 16:40:53 -07:00
issue-61592-2.rs Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592-2.stderr Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592.rs Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61592.stderr Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-61732.rs resolve: Fix regression in resolution of raw keywords in paths 2020-03-14 19:21:38 +03:00
issue-61732.stderr resolve: Fix regression in resolution of raw keywords in paths 2020-03-14 19:21:38 +03:00
issue-74134.private.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-74134.public.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
issue-74134.rs rustdoc: Always warn when linking from public to private items 2020-07-22 21:36:30 +02:00
issue-80992.rs Add a test 2021-01-16 06:55:29 +03:00
issue-80992.stdout change based on review 2021-05-03 20:17:15 +02:00
issue-81662-shortness.rs Add a test for the shortness format in rustdoc 2021-02-04 18:59:42 +01:00
issue-81662-shortness.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
issue-83883-describe-lints.rs Add listing of lints (eg via -W help) to rustdoc 2021-04-06 09:54:56 +01:00
issue-83883-describe-lints.stdout Add listing of lints (eg via -W help) to rustdoc 2021-04-06 09:54:56 +01:00
lint-group.rs Rename rustdoc to rustdoc::all 2021-03-05 15:26:55 -05:00
lint-group.stderr Rename rustdoc to rustdoc::all 2021-03-05 15:26:55 -05:00
lint-missing-doc-code-example.rs Update missing code example test 2021-03-04 21:22:43 +01:00
lint-missing-doc-code-example.stderr Update missing code example test 2021-03-04 21:22:43 +01:00
no-crate-level-doc-lint.rs rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
no-crate-level-doc-lint.stderr rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
no-run-flag-error.rs Apply suggestions from code review 2021-05-01 11:54:57 +02:00
no-run-flag-error.stderr Apply suggestions from code review 2021-05-01 11:54:57 +02:00
no-run-flag.rs fix failing tidy check 2021-04-07 20:48:12 +02:00
no-run-flag.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
output-format-html-stable.rs Fix handling of --output-format json flag 2021-04-06 18:41:17 -04:00
private-doc-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
private-item-doc-test.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
private-item-doc-test.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
pub-export-lint.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
pub-export-lint.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
range-pattern.rs Get rid of custom pretty-printing in rustdoc 2021-01-07 17:44:59 -05:00
reference-link-reports-error-once.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-link-reports-error-once.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-links.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
reference-links.stderr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
renamed-lint-still-applies.rs Fix bug where rustc_lint would not apply renamed tool lints 2021-04-05 04:13:36 -04:00
renamed-lint-still-applies.stderr Add explanatory note to bare_urls lint 2021-04-12 20:25:20 -07:00
run-directory.correct.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
run-directory.incorrect.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
run-directory.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
rustc-check-passes.rs Add test for rustdoc new check pass 2021-02-28 00:48:43 +01:00
rustc-check-passes.stderr Add test for rustdoc new check pass 2021-02-28 00:48:43 +01:00
test-compile-fail1.rs rustdoc: Fix handling of compile errors when running rustdoc --test 2020-01-18 23:51:06 +00:00
test-compile-fail1.stderr rustdoc: Fix handling of compile errors when running rustdoc --test 2020-01-18 23:51:06 +00:00
test-compile-fail2.rs rustdoc: Fix handling of compile errors when running rustdoc --test 2020-01-18 23:51:06 +00:00
test-compile-fail2.stderr rustdoc: Fix handling of compile errors when running rustdoc --test 2020-01-18 23:51:06 +00:00
test-compile-fail3.rs rustdoc: Fix handling of compile errors when running rustdoc --test 2020-01-18 23:51:06 +00:00
test-compile-fail3.stderr Update UI tests 2020-06-21 16:40:36 +02:00
test-no_std.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
test-no_std.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
test-type.rs proof of concept add test type on prints 2021-05-03 15:22:19 +02:00
test-type.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
unknown-renamed-lints.rs Rename non_autolinks -> bare_urls 2021-04-05 04:13:34 -04:00
unknown-renamed-lints.stderr Rename non_autolinks -> bare_urls 2021-04-05 04:13:34 -04:00
unparseable-doc-test.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
unparseable-doc-test.stdout remove mode for run and ignore tests 2021-05-16 22:33:41 +02:00
unused-braces-lint.rs Add rustdoc regression test for the unused_braces lint 2020-04-24 19:15:07 +02:00
unused-extern-crate.rs Don't load all extern crates unconditionally 2021-04-02 16:34:53 -04:00
unused.rs Moving all rustdoc-ui tests to check-pass 2020-04-19 16:40:53 -07:00
wasm-safe.rs std: Stabilize wasm simd intrinsics 2021-06-10 19:42:05 -07:00