rust/tests/ui/resolve
Jubilee 78d9a7e107
Rollup merge of #125906 - compiler-errors:simplify-method-error-args, r=fmease
Remove a bunch of redundant args from `report_method_error`

Rebased on top of #125397 because I had originally asked there (https://github.com/rust-lang/rust/pull/125397#discussion_r1610124799) for this change to be made, but I just chose to do it myself.

r? fmease
2024-06-05 01:14:32 -07:00
..
auxiliary Add known-bug tests for derive(PartialEq) mismatches with #[repr(packed)] attributes that are not visible before macro expansion 2024-03-07 21:40:11 +00: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
associated-fn-called-as-fn.rs
associated-fn-called-as-fn.stderr
bad-env-capture.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture.stderr
bad-env-capture2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture2.stderr
bad-env-capture3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-env-capture3.stderr
bad-expr-path.rs
bad-expr-path.stderr
bad-expr-path2.rs
bad-expr-path2.stderr
bad-module.rs
bad-module.stderr
bad-type-env-capture.rs
bad-type-env-capture.stderr
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
blind-item-mixed-use-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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
crate-called-as-function.rs
crate-called-as-function.stderr
crate-in-paths.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-in-paths.stderr
derive-macro-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-macro-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
disambiguate-identical-names.rs
disambiguate-identical-names.stderr
editions-crate-root-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
editions-crate-root-2015.stderr
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
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
enums-pats-not-idents.rs
enums-pats-not-idents.stderr
explicit-self-lowercase-param.rs
explicit-self-lowercase-param.stderr
export-fully-qualified-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
export-fully-qualified-2018.stderr
export-fully-qualified.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
export-fully-qualified.stderr
extern-prelude-fail.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-prelude-fail.stderr
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
field-and-method-in-self-not-available-in-assoc-fn.stderr
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 Add note to resolve error about generics from inside static/const 2024-01-14 12:31:28 +00:00
generic-params-from-outer-item-in-const-item.generic_const_items.stderr Add note to resolve error about generics from inside static/const 2024-01-14 12:31:28 +00: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
impl-items-vis-unresolved.rs
impl-items-vis-unresolved.stderr
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
issue-2330.stderr
issue-2356.rs
issue-2356.stderr
issue-3021-c.rs
issue-3021-c.stderr
issue-3021.rs
issue-3021.stderr
issue-3099-a.rs
issue-3099-a.stderr
issue-3099-b.rs
issue-3099-b.stderr
issue-3214.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-3214.stderr Move some tests 2024-04-21 15:43:43 -03: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 Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-3907.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-3907.stderr
issue-5035-2.rs
issue-5035-2.stderr Track HirId instead of Span in ObligationCauseCode::SizedArgumentType 2024-01-03 18:59:42 +00:00
issue-5035.rs
issue-5035.stderr
issue-5099.rs
issue-5099.stderr
issue-5927.rs
issue-5927.stderr
issue-6642.rs
issue-6642.stderr
issue-6702.rs
issue-6702.stderr
issue-10200.rs
issue-10200.stderr
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
issue-14254.stderr
issue-16058.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16058.stderr
issue-17518.rs
issue-17518.stderr
issue-18252.rs
issue-18252.stderr
issue-19452.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19452.stderr
issue-21221-1.rs
issue-21221-1.stderr
issue-21221-2.rs
issue-21221-2.stderr
issue-21221-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-21221-3.stderr
issue-21221-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-21221-4.stderr
issue-22692.rs
issue-22692.stderr
issue-23305.rs
issue-23305.stderr
issue-23716.rs
issue-23716.stderr
issue-24968.rs
issue-24968.stderr
issue-26545.rs
issue-26545.stderr
issue-30535.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-30535.stderr
issue-31845.rs
issue-31845.stderr
issue-33876.rs
issue-33876.stderr
issue-35675.rs
issue-35675.stderr
issue-39226.rs
issue-39226.stderr
issue-39559-2.rs
issue-39559-2.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
issue-39559.rs
issue-39559.stderr
issue-42944.rs
issue-42944.stderr
issue-49074.rs
issue-49074.stderr
issue-50599.rs
issue-50599.stderr update error messages in ui tests 2024-05-02 15:13:30 +02:00
issue-54379.rs
issue-54379.stderr
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
issue-57523.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-60057.rs
issue-60057.stderr
issue-65025-extern-static-parent-generics.rs
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
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
issue-69401-trait-fn-no-body-ty-local.stderr
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
issue-73427.rs
issue-73427.stderr update error messages in ui tests 2024-05-02 15:13:30 +02:00
issue-80079.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80079.stderr
issue-81508.rs
issue-81508.stderr
issue-82156.rs
issue-82156.stderr
issue-82865.rs
issue-82865.stderr Remove a bunch of redundant args from report_method_error 2024-06-03 20:29:09 -04:00
issue-85348.rs
issue-85348.stderr
issue-85671.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88472.rs
issue-88472.stderr
issue-90113.rs
issue-90113.stderr
issue-100365.rs
issue-100365.stderr
issue-101749-2.rs
issue-101749-2.stderr
issue-101749.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101749.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101749.stderr
issue-102946.rs
issue-102946.stderr
issue-103202.rs
issue-103202.stderr
issue-103474.rs
issue-103474.stderr
issue-104700-inner_scope.rs
issue-104700-inner_scope.stderr
issue-105069.rs
issue-105069.stderr
issue-107563-ambiguous-glob-reexports.rs
issue-107563-ambiguous-glob-reexports.stderr
issue-108529.rs
issue-108529.stderr
issue-109153.rs
issue-109153.stderr
issue-109250.rs
issue-109250.stderr
issue-111312.rs Don't cancel stashed TraitMissingMethod errors. 2024-02-29 11:05:40 +11:00
issue-111312.stderr Don't cancel stashed TraitMissingMethod errors. 2024-02-29 11:05:40 +11:00
issue-111727.rs Don't cancel stashed TraitMissingMethod errors. 2024-02-29 11:05:40 +11:00
issue-111727.stderr Don't cancel stashed TraitMissingMethod errors. 2024-02-29 11:05:40 +11: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
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
issue-116164.stderr
issue-117920.rs
issue-117920.stderr
issue-118295.rs
issue-118295.stderr
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
levenshtein.stderr
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
missing-in-namespace.stderr
multiple_definitions_attribute_merging.rs Add known-bug tests for derive(PartialEq) mismatches with #[repr(packed)] attributes that are not visible before macro expansion 2024-03-07 21:40:11 +00:00
multiple_definitions_attribute_merging.stderr Update documentation 2024-03-20 09:49:57 +00:00
name-clash-nullary.rs
name-clash-nullary.stderr
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
no-implicit-prelude-nested.stderr
no-implicit-prelude.rs
no-implicit-prelude.stderr
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
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
point-at-type-parameter-shadowing-another-type.stderr
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
privacy-enum-ctor.stderr update error messages in ui tests 2024-05-02 15:13:30 +02: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
proc_macro_generated_packed.rs Add known-bug tests for derive(PartialEq) mismatches with #[repr(packed)] attributes that are not visible before macro expansion 2024-03-07 21:40:11 +00:00
proc_macro_generated_packed.stderr Update documentation 2024-03-20 09:49:57 +00:00
raw-ident-in-path.rs
raw-ident-in-path.stderr
resolve-assoc-suggestions.rs
resolve-assoc-suggestions.stderr
resolve-bad-import-prefix.rs
resolve-bad-import-prefix.stderr
resolve-bad-visibility.rs
resolve-bad-visibility.stderr
resolve-conflict-extern-crate-vs-extern-crate.rs
resolve-conflict-extern-crate-vs-extern-crate.stderr
resolve-conflict-import-vs-extern-crate.rs
resolve-conflict-import-vs-extern-crate.stderr
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
resolve-conflict-item-vs-extern-crate.rs
resolve-conflict-item-vs-extern-crate.stderr
resolve-conflict-item-vs-import.rs
resolve-conflict-item-vs-import.stderr
resolve-conflict-type-vs-import.rs
resolve-conflict-type-vs-import.stderr
resolve-dont-hint-macro.rs
resolve-dont-hint-macro.stderr
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
resolve-inconsistent-binding-mode.rs
resolve-inconsistent-binding-mode.stderr
resolve-inconsistent-names.rs
resolve-inconsistent-names.stderr
resolve-issue-2428.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolve-label.rs
resolve-label.stderr
resolve-primitive-fallback.rs
resolve-primitive-fallback.stderr
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
resolve-self-in-impl-2.stderr
resolve-self-in-impl.rs
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
resolve-speculative-adjustment.stderr
resolve-type-param-in-item-in-trait.rs
resolve-type-param-in-item-in-trait.stderr
resolve-unknown-trait.rs
resolve-unknown-trait.stderr
resolve-variant-assoc-item.rs
resolve-variant-assoc-item.stderr
shadow-const-param.rs
shadow-const-param.stderr
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
suggest-path-for-tuple-struct.rs
suggest-path-for-tuple-struct.stderr
suggest-path-instead-of-mod-dot-item.rs
suggest-path-instead-of-mod-dot-item.stderr
token-error-correct-2.rs
token-error-correct-2.stderr
token-error-correct-3.rs
token-error-correct-3.stderr
token-error-correct-4.rs
token-error-correct-4.stderr
token-error-correct.rs
token-error-correct.stderr
tool-import.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tool-import.stderr
tuple-struct-alias.rs
tuple-struct-alias.stderr
typo-suggestion-for-variable-with-name-similar-to-struct-field.rs
typo-suggestion-for-variable-with-name-similar-to-struct-field.stderr
typo-suggestion-mistyped-in-path.rs
typo-suggestion-mistyped-in-path.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
typo-suggestion-named-underscore.rs
typo-suggestion-named-underscore.stderr
unboxed-closure-sugar-nonexistent-trait.rs
unboxed-closure-sugar-nonexistent-trait.stderr
unresolved-segments-visibility.rs
unresolved-segments-visibility.stderr
unresolved_static_type_field.rs
unresolved_static_type_field.stderr
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
use_suggestion.stderr
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
visibility-indeterminate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
visibility-indeterminate.stderr