rust/tests/ui/resolve
Matthias Krüger 068594e365
Rollup merge of #138790 - xizheyin:issue-138626, r=compiler-errors
Note potential but private items in show_candidates

Closes #138626 .
We should add potential private items to give ample hints.
And for the other seemingly false positive ` pub use crate:1️⃣:Foo;` should be kept because we don't know if the user wants to import other module's items or not, and therefore should be given the full option to do so.
r? compiler
2025-04-01 20:25:21 +02:00
..
auxiliary rustc_resolve: Test the order that preludes are resolved 2025-03-29 19:18:39 -04:00
112590-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
112590-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
112590-2.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
associated-fn-called-as-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-fn-called-as-fn.stderr When suggesting self.x for S { x }, use S { x: self.x } 2023-09-25 15:56:36 +00:00
attr-macros-positional-rejection.rs Adjust tests/ui/attrs-resolution-errors.rs 2024-12-17 19:57:42 +08:00
attr-macros-positional-rejection.stderr Adjust tests/ui/attrs-resolution-errors.rs 2024-12-17 19:57:42 +08:00
bad-env-capture.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-env-capture2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-env-capture3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-expr-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-expr-path.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
bad-expr-path2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-expr-path2.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
bad-module.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
bad-module.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
bad-type-env-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-type-env-capture.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
blind-item-local-shadow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
blind-item-mixed-crate-use-item.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
blind-item-mixed-use-item.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
block-with-trait-parent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
change-ty-to-const-param-sugg-0.rs Suggest changing ty to const params if appropriate 2024-02-02 03:25:04 +01:00
change-ty-to-const-param-sugg-0.stderr Suggest changing ty to const params if appropriate 2024-02-02 03:25:04 +01:00
change-ty-to-const-param-sugg-1.rs Suggest changing ty to const params if appropriate 2024-02-02 03:25:04 +01:00
change-ty-to-const-param-sugg-1.stderr Suggest changing ty to const params if appropriate 2024-02-02 03:25:04 +01:00
conflicting-primitive-names.rs Add UI tests related to feature-gated primitives 2024-03-14 13:32:54 -04:00
const-with-typo-in-pattern-binding-ice-135289.rs add test for issue 135289 2025-01-21 16:18:27 +00:00
const-with-typo-in-pattern-binding.rs Detect const in pattern with typo 2024-11-20 17:55:18 +00:00
const-with-typo-in-pattern-binding.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
crate-called-as-function.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-called-as-function.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
crate-in-paths.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-in-paths.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-macro-1.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-macro-2.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
disambiguate-identical-names.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
disambiguate-identical-names.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-compute-arg-names-for-non-fn.rs Don't call fn_arg_names for non-fn in resolver 2024-09-07 07:38:22 -04:00
dont-compute-arg-names-for-non-fn.stderr Don't call fn_arg_names for non-fn in resolver 2024-09-07 07:38:22 -04:00
dot-notation-type-namespace-suggest-path-sep.rs When giving a suggestion to use :: instead of . where the rhs is a macro giving a type, 2025-02-18 13:11:37 -06:00
dot-notation-type-namespace-suggest-path-sep.stderr Update . -> :: tests for new diff suggestion format. 2025-02-18 13:28:35 -06:00
editions-crate-root-2015.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
editions-crate-root-2015.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
editions-crate-root-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
editions-crate-root-2018.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-expected-value-suggest-variants.rs Suggest using :: instead of . for enums in some cases. 2025-02-18 13:11:37 -06:00
enum-expected-value-suggest-variants.stderr Update . -> :: tests for new diff suggestion format. 2025-02-18 13:28:35 -06:00
enums-are-namespaced-xc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enums-are-namespaced-xc.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
enums-pats-not-idents.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums-pats-not-idents.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit-self-lowercase-param.rs Improve error for self: Box<self> 2023-05-11 13:21:10 +01:00
explicit-self-lowercase-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
export-fully-qualified-2018.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
export-fully-qualified-2018.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
export-fully-qualified.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
export-fully-qualified.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
extern-prelude-fail.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-prelude-fail.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
extern-prelude.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
field-and-method-in-self-not-available-in-assoc-fn.rs When suggesting self.x for S { x }, use S { x: self.x } 2023-09-25 15:56:36 +00:00
field-and-method-in-self-not-available-in-assoc-fn.stderr Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
filter-intrinsics.rs Add size_of, size_of_val, align_of, and align_of_val to the prelude 2024-05-13 15:11:28 +02:00
filter-intrinsics.stderr Add size_of, size_of_val, align_of, and align_of_val to the prelude 2024-05-13 15:11:28 +02:00
generic-params-from-outer-item-in-const-item.default.stderr fix ICE on type error in promoted 2024-12-09 15:17:26 +01:00
generic-params-from-outer-item-in-const-item.generic_const_items.stderr fix ICE on type error in promoted 2024-12-09 15:17:26 +01:00
generic-params-from-outer-item-in-const-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
hidden_glob_reexports.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
hidden_glob_reexports.stderr Adjust span labels for HIDDEN_GLOB_REEXPORTS 2023-06-10 17:11:38 +08:00
impl-items-vis-unresolved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-items-vis-unresolved.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
incorrect-self-res.rs Delay span bug when Self resolves to DefKind::{Mod,Trait} 2024-04-15 21:05:15 -04:00
incorrect-self-res.stderr Delay span bug when Self resolves to DefKind::{Mod,Trait} 2024-04-15 21:05:15 -04:00
issue-2330.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-2330.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-2356.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-2356.stderr Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
issue-3021-c.rs Generalize E0401 2023-09-10 23:06:14 +02:00
issue-3021-c.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
issue-3021.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3021.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3099-a.rs Move tests 2023-05-08 17:58:01 -03:00
issue-3099-a.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3099-b.rs Move tests 2023-05-08 17:58:01 -03:00
issue-3099-b.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3214.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-3214.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-3907-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-3907-2.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-3907.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-3907.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-5035-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-5035-2.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
issue-5035.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-5035.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-5099.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-5099.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-5927.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-5927.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6642.rs Move tests 2023-08-28 17:47:37 -03:00
issue-6642.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-6702.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6702.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-10200.rs On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00:00
issue-10200.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
issue-12796.rs Special case 'generic param from outer item' message for Self 2024-01-14 12:31:34 +00:00
issue-12796.stderr Special case 'generic param from outer item' message for Self 2024-01-14 12:31:34 +00:00
issue-14254.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14254.stderr When suggesting self.x for S { x }, use S { x: self.x } 2023-09-25 15:56:36 +00:00
issue-16058.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16058.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
issue-17518.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17518.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-18252.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18252.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-19452.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19452.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
issue-21221-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21221-1.stderr Note potential but private items in show_candidates 2025-03-22 11:41:42 +08:00
issue-21221-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21221-2.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
issue-21221-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-21221-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21221-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-21221-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-23305.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23305.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-23716.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23716.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-24968.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-24968.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26545.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26545.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-30535.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-30535.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-31845.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-31845.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-33876.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33876.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-35675.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35675.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-39226.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39226.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
issue-39559-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39559-2.stderr Note def descr in NonConstFunctionCall 2024-12-23 22:15:32 +00:00
issue-39559.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39559.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
issue-42944.rs Suggest making private tuple struct field public 2023-01-11 21:35:42 +00:00
issue-42944.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-49074.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49074.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50599.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
issue-50599.stderr fix ICE on type error in promoted 2024-12-09 15:17:26 +01:00
issue-54379.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54379.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-55673.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-55673.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-55673.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
issue-57523.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-60057.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60057.stderr Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
issue-65025-extern-static-parent-generics.rs Generalize E0401 2023-09-10 23:06:14 +02:00
issue-65025-extern-static-parent-generics.stderr Add note to resolve error about generics from inside static/const 2024-01-14 12:31:28 +00:00
issue-65035-static-with-parent-generics.rs Generalize E0401 2023-09-10 23:06:14 +02:00
issue-65035-static-with-parent-generics.stderr Add note to resolve error about generics from inside static/const 2024-01-14 12:31:28 +00:00
issue-69401-trait-fn-no-body-ty-local.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69401-trait-fn-no-body-ty-local.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70736-async-fn-no-body-def-collector.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70736-async-fn-no-body-def-collector.stderr Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
issue-73427.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73427.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
issue-80079.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80079.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-81508.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81508.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82156.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82156.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-82865.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-82865.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-85348.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85348.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85671.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88472.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88472.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90113.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90113.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-100365.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100365.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-101749-2.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-101749-2.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-101749.fixed Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-101749.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
issue-101749.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-102946.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102946.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-103202.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103202.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-103474.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103474.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-104700-inner_scope.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104700-inner_scope.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105069.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105069.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-107563-ambiguous-glob-reexports.rs Lint ambiguous glob re-exports 2023-03-20 03:22:31 +08:00
issue-107563-ambiguous-glob-reexports.stderr Lint ambiguous glob re-exports 2023-03-20 03:22:31 +08:00
issue-108529.rs diagnostics: avoid querying associated_item in the resolver 2023-02-27 09:22:51 -07:00
issue-108529.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-109153.rs fix(resolve): update shadowed_glob more precision 2023-06-14 01:38:35 +08:00
issue-109153.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-109250.rs refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
issue-109250.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-111312.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-111312.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-111727.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-111727.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-112472-multi-generics-suggestion.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112472-multi-generics-suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112472-multi-generics-suggestion.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-113808-invalid-unused-qualifications-suggestion.fixed fixes #121331 2024-03-14 09:54:42 +08:00
issue-113808-invalid-unused-qualifications-suggestion.rs fixes #121331 2024-03-14 09:54:42 +08:00
issue-113808-invalid-unused-qualifications-suggestion.stderr fixes #121331 2024-03-14 09:54:42 +08:00
issue-114433-invalid-unused-qualifications-suggestion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-116164.rs resolve: skip underscore character during candidate lookup 2023-09-28 19:47:58 +08:00
issue-116164.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-117920.rs Use the glob binding in resolve_rustdoc_path process 2023-12-06 21:48:19 +08:00
issue-117920.stderr Use the glob binding in resolve_rustdoc_path process 2023-12-06 21:48:19 +08:00
issue-118295.rs Add a label to point to the lacking macro name definition 2024-07-26 10:51:55 +08:00
issue-118295.stderr Add a label to point to the lacking macro name definition 2024-07-26 10:51:55 +08:00
issue-120559.rs remove importing suggestions when there is a shadowed typo canddiate 2024-02-14 14:08:51 +08:00
issue-120559.stderr remove importing suggestions when there is a shadowed typo canddiate 2024-02-14 14:08:51 +08:00
levenshtein.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
levenshtein.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
local-shadows-inner-generic.rs Don't consider RibKind::Module's bindings when checking generics shadowing 2024-08-19 17:24:27 -04:00
macro-determinacy-non-module.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-in-namespace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-in-namespace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multiple_definitions_attribute_merging.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
multiple_definitions_attribute_merging.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
name-clash-nullary.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
name-clash-nullary.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
name-collision-in-trait-fn-sig.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-implicit-prelude-nested.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-implicit-prelude-nested.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
no-implicit-prelude.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-implicit-prelude.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
no-std-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-std-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-std-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-macro-attrs-accepted.rs Adjust tests/ui/attrs-resolution.rs 2024-12-17 19:57:42 +08:00
parse-error-resolve.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
parse-error-resolve.stderr Silence use foo::Bar; error if Bar isn't found in foo and foo.rs has parse errors 2024-12-10 18:18:03 +00:00
parse_error.rs Add test for resolve errors caused by mod with parse errors 2024-12-10 18:00:11 +00:00
parse_error.stderr Add test for resolve errors caused by mod with parse errors 2024-12-10 18:00:11 +00:00
path-attr-in-const-block.rs collect attrs in const block expr 2024-06-20 19:59:27 +08:00
path-attr-in-const-block.stderr collect attrs in const block expr 2024-06-20 19:59:27 +08:00
pathless-extern-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
point-at-type-parameter-shadowing-another-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-type-parameter-shadowing-another-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
prelude-order.rs rustc_resolve: Test the order that preludes are resolved 2025-03-29 19:18:39 -04:00
prelude-order.stderr rustc_resolve: Test the order that preludes are resolved 2025-03-29 19:18:39 -04:00
primitive-f16-f128-shadowed-mod.rs Update f16 and f128 tests to run on both 2015 and 2018 editions 2024-04-03 16:03:22 -04:00
primitive-f16-f128-shadowed.rs Update f16 and f128 tests to run on both 2015 and 2018 editions 2024-04-03 16:03:22 -04:00
primitive-usage.rs Add UI tests related to feature-gated primitives 2024-03-14 13:32:54 -04:00
privacy-enum-ctor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
privacy-enum-ctor.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
privacy-struct-ctor.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
privacy-struct-ctor.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
proc_macro_generated_packed.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
proc_macro_generated_packed.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
raw-ident-in-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-ident-in-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-assoc-suggestions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-assoc-suggestions.stderr When suggesting self.x for S { x }, use S { x: self.x } 2023-09-25 15:56:36 +00:00
resolve-bad-import-prefix.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-bad-import-prefix.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-bad-visibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-bad-visibility.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
resolve-conflict-extern-crate-vs-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-conflict-extern-crate-vs-extern-crate.stderr Trim suggestion part before generating highlights 2025-02-21 00:54:01 +00:00
resolve-conflict-import-vs-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-conflict-import-vs-extern-crate.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
resolve-conflict-import-vs-import.fixed If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
resolve-conflict-import-vs-import.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-conflict-import-vs-import.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-conflict-item-vs-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-conflict-item-vs-extern-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-conflict-item-vs-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-conflict-item-vs-import.stderr Accurate use rename suggestion span 2024-07-18 00:00:04 +00:00
resolve-conflict-type-vs-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-conflict-type-vs-import.stderr Accurate use rename suggestion span 2024-07-18 00:00:04 +00:00
resolve-dont-hint-macro.rs Dont suggest ! for path in function call if it has generic args 2023-11-27 01:02:37 +00:00
resolve-dont-hint-macro.stderr Dont suggest ! for path in function call if it has generic args 2023-11-27 01:02:37 +00:00
resolve-hint-macro.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-hint-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-hint-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-inconsistent-binding-mode.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-inconsistent-binding-mode.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
resolve-inconsistent-names.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-inconsistent-names.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
resolve-issue-2428.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-issue-135614-assoc-const.import_trait_associated_functions.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
resolve-issue-135614-assoc-const.normal.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
resolve-issue-135614-assoc-const.rs Fix ICE in resolving associated items as non-bindings 2025-01-18 08:38:50 +08:00
resolve-issue-135614.normal.stderr Fix ICE in resolving associated items as non-bindings 2025-01-18 08:38:50 +08:00
resolve-issue-135614.rs Fix ICE in resolving associated items as non-bindings 2025-01-18 08:38:50 +08:00
resolve-label.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-label.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-primitive-fallback.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-primitive-fallback.stderr Use verbose style for argument removal suggestion 2024-07-05 19:40:09 +00:00
resolve-pseudo-shadowing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-self-in-impl-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-self-in-impl-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-self-in-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-self-in-impl.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
resolve-speculative-adjustment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-speculative-adjustment.stderr When suggesting self.x for S { x }, use S { x: self.x } 2023-09-25 15:56:36 +00:00
resolve-type-param-in-item-in-trait.rs Generalize E0401 2023-09-10 23:06:14 +02:00
resolve-type-param-in-item-in-trait.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
resolve-unknown-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-unknown-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-variant-assoc-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-variant-assoc-item.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
shadow-const-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadow-const-param.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-builder-fn.rs Do not suggest unresolvable builder methods 2024-05-23 07:23:59 +05:30
suggest-builder-fn.stderr Do not suggest unresolvable builder methods 2024-05-23 07:23:59 +05:30
suggest-constructor-cycle-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-constructor-cycle-error.stderr fix cycle error for "use constructor" suggestion 2024-01-05 21:56:32 +01:00
suggest-import-without-clobbering-attrs.fixed compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
suggest-import-without-clobbering-attrs.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
suggest-import-without-clobbering-attrs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-path-for-tuple-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-path-for-tuple-struct.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-path-instead-of-mod-dot-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-path-instead-of-mod-dot-item.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
token-error-correct-2.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
token-error-correct-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
token-error-correct-3.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
token-error-correct-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
token-error-correct-4.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
token-error-correct-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
token-error-correct.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
token-error-correct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tool-import.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tool-import.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tuple-struct-alias.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuple-struct-alias.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typo-suggestion-for-variable-with-name-similar-to-struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typo-suggestion-for-variable-with-name-similar-to-struct-field.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
typo-suggestion-mistyped-in-path.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
typo-suggestion-mistyped-in-path.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
typo-suggestion-named-underscore.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typo-suggestion-named-underscore.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unboxed-closure-sugar-nonexistent-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unboxed-closure-sugar-nonexistent-trait.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unresolved-segments-visibility.rs Resolve visibility paths as modules not as types. 2023-08-02 15:30:24 +00:00
unresolved-segments-visibility.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unresolved_static_type_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unresolved_static_type_field.stderr Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
unused-qualifications-suggestion.fixed fixes #121331 2024-03-14 09:54:42 +08:00
unused-qualifications-suggestion.rs fixes #121331 2024-03-14 09:54:42 +08:00
unused-qualifications-suggestion.stderr fixes #121331 2024-03-14 09:54:42 +08:00
use-self-in-inner-fn.rs Special case 'generic param from outer item' message for Self 2024-01-14 12:31:34 +00:00
use-self-in-inner-fn.stderr Special case 'generic param from outer item' message for Self 2024-01-14 12:31:34 +00:00
use_suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use_suggestion.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
use_suggestion_placement.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_suggestion_placement.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_suggestion_placement.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
visibility-indeterminate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
visibility-indeterminate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00