rust/src/test/ui/resolve
Esteban Kuber 5e1972eba7 Tweak assoc type obligation spans
* Point at RHS of associated type in obligation span
* Point at `impl` assoc type on projection error
* Reduce verbosity of recursive obligations
* Point at source of binding lifetime obligation
* Tweak "required bound" note
* Tweak "expected... found opaque (return) type" labels
* Point at set type in impl assoc type WF errors
2021-12-11 02:32:15 +00:00
..
auxiliary Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
associated-fn-called-as-fn.rs Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
associated-fn-called-as-fn.stderr Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
bad-env-capture.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-env-capture.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-env-capture2.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-env-capture2.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-env-capture3.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-env-capture3.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-expr-path.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-expr-path.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-expr-path2.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-expr-path2.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-module.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-module.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-type-env-capture.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-type-env-capture.stderr Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
blind-item-mixed-crate-use-item.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
blind-item-mixed-use-item.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
block-with-trait-parent.rs
crate-called-as-function.rs Add tests for resolution changes 2021-01-18 14:01:09 +01:00
crate-called-as-function.stderr Add tests for resolution changes 2021-01-18 14:01:09 +01:00
crate-in-paths.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
crate-in-paths.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
editions-crate-root-2015.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
editions-crate-root-2015.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
editions-crate-root-2018.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
editions-crate-root-2018.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
enums-are-namespaced-xc.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
enums-are-namespaced-xc.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
enums-pats-not-idents.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
enums-pats-not-idents.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
export-fully-qualified.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
export-fully-qualified.stderr Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
extern-prelude-fail.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
extern-prelude-fail.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
extern-prelude.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
impl-items-vis-unresolved.rs Appease tidy 2020-01-12 15:37:50 +00:00
impl-items-vis-unresolved.stderr Update output-default.json and rustdoc test 2020-01-12 15:37:50 +00:00
issue-2330.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-2330.stderr Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-2356.rs Permit deriving default on enums with #[default] 2021-07-27 15:47:47 -04:00
issue-2356.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-3021-c.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-3021-c.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-3021.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-3021.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-3907-2.rs
issue-3907-2.stderr review comments 2020-10-20 09:26:15 -07:00
issue-3907.rs
issue-3907.stderr Add a suggestion when using a type alias instead of trait alias 2021-04-01 09:53:46 +09:00
issue-5035-2.rs
issue-5035-2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-5035.rs
issue-5035.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-5099.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-5099.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-6702.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
issue-6702.stderr Suggest struct pat on incorrect unit or tuple pat 2020-07-14 10:41:44 -07:00
issue-10200.rs Move some tests to more reasonable directories 2021-01-11 19:49:51 -03:00
issue-10200.stderr Move some tests to more reasonable directories 2021-01-11 19:49:51 -03:00
issue-12796.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-12796.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-14254.rs
issue-14254.stderr Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
issue-16058.rs Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
issue-16058.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
issue-17518.rs
issue-17518.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
issue-18252.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
issue-18252.stderr Suggest struct pat on incorrect unit or tuple pat 2020-07-14 10:41:44 -07:00
issue-19452.rs
issue-19452.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
issue-21221-1.rs
issue-21221-1.stderr Prefer accessible paths in 'use' suggestions 2020-06-21 18:49:39 +03:00
issue-21221-2.rs
issue-21221-2.stderr Add re-exports to use suggestions 2020-06-23 13:37:50 +03:00
issue-21221-3.rs
issue-21221-3.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
issue-21221-4.rs
issue-21221-4.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
issue-22692.rs
issue-22692.stderr
issue-23305.rs
issue-23305.stderr Improve errors for recursive type aliases 2021-08-21 18:30:25 -07:00
issue-23716.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-23716.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-24968.rs
issue-24968.stderr
issue-31845.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-31845.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-33876.rs
issue-33876.stderr
issue-39226.rs
issue-39226.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-42944.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-42944.stderr Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
issue-49074.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-49074.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-50599.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-50599.stderr Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-54379.rs
issue-54379.stderr Fix span for incorrect pattern field and add label 2020-10-02 00:44:16 -07:00
issue-57523.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-65025-extern-static-parent-generics.rs resolve: prohibit foreign statics w/ generics 2019-10-08 18:46:24 +01:00
issue-65025-extern-static-parent-generics.stderr resolve: prohibit foreign statics w/ generics 2019-10-08 18:46:24 +01:00
issue-65035-static-with-parent-generics.rs feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
issue-65035-static-with-parent-generics.stderr feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
issue-69401-trait-fn-no-body-ty-local.rs late resolve, visit_fn: bail early if there's no body. 2020-02-28 07:58:37 +01:00
issue-69401-trait-fn-no-body-ty-local.stderr late resolve, visit_fn: bail early if there's no body. 2020-02-28 07:58:37 +01:00
issue-70736-async-fn-no-body-def-collector.rs def_collector, visit_fn: account for no body 2020-04-03 17:01:21 +02:00
issue-70736-async-fn-no-body-def-collector.stderr Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
issue-80079.rs detect when suggested paths enter extern crates more rigorously 2021-04-11 23:44:54 +01:00
issue-80079.stderr detect when suggested paths enter extern crates more rigorously 2021-04-11 23:44:54 +01:00
issue-81508.rs Fixed diagnostic and added test for issue 81508 2021-04-01 22:55:47 -04:00
issue-81508.stderr Added additional comments and minor edits 2021-04-07 12:35:39 -04:00
issue-82156.rs Fix popping singleton paths in when generating E0433 2021-02-18 19:13:40 +03:00
issue-82156.stderr Fix popping singleton paths in when generating E0433 2021-02-18 19:13:40 +03:00
issue-82865.rs Add a regression test for issue-82865 2021-03-30 07:34:49 +09:00
issue-82865.stderr Bless tests 2021-10-15 02:36:58 -05:00
issue-85348.rs Disallow shadowing const parameters 2021-05-19 18:51:42 +02:00
issue-85348.stderr Disallow shadowing const parameters 2021-05-19 18:51:42 +02:00
issue-85671.rs tests 2021-10-08 10:55:48 +02:00
issue-88472.rs Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
issue-88472.stderr Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
issue-90113.rs Do not mention a reexported item if it's private 2021-10-21 20:25:45 +09:00
issue-90113.stderr Do not mention a reexported item if it's private 2021-10-21 20:25:45 +09:00
levenshtein.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
levenshtein.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
macro-determinacy-non-module.rs resolve: Do not put macros into module.unexpanded_invocations unless necessary 2020-11-22 14:42:29 +03:00
missing-in-namespace.rs Add tests for resolution changes 2021-01-18 14:01:09 +01:00
missing-in-namespace.stderr Add tests for resolution changes 2021-01-18 14:01:09 +01:00
name-clash-nullary.rs
name-clash-nullary.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
no-implicit-prelude-nested.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
no-implicit-prelude-nested.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
no-implicit-prelude.rs Move some tests to more reasonable directories - 5 2021-03-20 11:41:24 -03:00
no-implicit-prelude.stderr Move some tests to more reasonable directories - 5 2021-03-20 11:41:24 -03:00
no-std-1.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
no-std-2.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
no-std-3.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
pathless-extern-ok.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
privacy-enum-ctor.rs
privacy-enum-ctor.stderr Suggest removal of arguments for unit variant, not replacement 2021-11-16 20:40:35 +00:00
privacy-struct-ctor.rs resolve: fix error title regarding private constructors 2019-10-11 18:09:23 +03:00
privacy-struct-ctor.stderr Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
raw-ident-in-path.rs diagnostics: Differentiate between edition meanings of ::foo in resolve diagnostics for ::foo::Bar 2021-03-07 14:24:47 -08:00
raw-ident-in-path.stderr diagnostics: Differentiate between edition meanings of ::foo in resolve diagnostics for ::foo::Bar 2021-03-07 14:24:47 -08:00
resolve-assoc-suggestions.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
resolve-assoc-suggestions.stderr Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
resolve-bad-import-prefix.rs
resolve-bad-import-prefix.stderr
resolve-bad-visibility.rs
resolve-bad-visibility.stderr Update ui tests 2019-10-30 14:49:53 +01:00
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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
resolve-conflict-import-vs-import.fixed Audit uses of tool_only_span_suggestion 2020-07-02 15:18:33 +09:00
resolve-conflict-import-vs-import.rs Audit uses of tool_only_span_suggestion 2020-07-02 15:18:33 +09:00
resolve-conflict-import-vs-import.stderr Audit uses of tool_only_span_suggestion 2020-07-02 15:18:33 +09:00
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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
resolve-conflict-type-vs-import.rs
resolve-conflict-type-vs-import.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
resolve-hint-macro.rs Move [debug_]assert_matches to mod {core, std}::assert. 2021-07-08 02:33:36 +02:00
resolve-hint-macro.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
resolve-inconsistent-binding-mode.rs resolve, inconsistent binding mode: tweak wording. 2020-03-04 03:58:52 +01:00
resolve-inconsistent-binding-mode.stderr resolve, inconsistent binding mode: tweak wording. 2020-03-04 03:58:52 +01:00
resolve-inconsistent-names.rs resolve, inconsistent binding mode: tweak wording. 2020-03-04 03:58:52 +01:00
resolve-inconsistent-names.stderr resolve, inconsistent binding mode: tweak wording. 2020-03-04 03:58:52 +01:00
resolve-issue-2428.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
resolve-label.rs resolve: disallow label use through closure/async 2020-07-02 13:48:32 +01:00
resolve-label.stderr resolve: disallow label use through closure/async 2020-07-02 13:48:32 +01:00
resolve-primitive-fallback.rs On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
resolve-primitive-fallback.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
resolve-pseudo-shadowing.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
resolve-self-in-impl-2.rs
resolve-self-in-impl-2.stderr
resolve-self-in-impl.rs
resolve-self-in-impl.stderr Improve errors for recursive type aliases 2021-08-21 18:30:25 -07:00
resolve-speculative-adjustment.rs
resolve-speculative-adjustment.stderr Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
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 Disallow shadowing const parameters 2021-05-19 18:51:42 +02:00
shadow-const-param.stderr Disallow shadowing const parameters 2021-05-19 18:51:42 +02:00
suggest-path-for-tuple-struct.rs suggest path for tuple struct 2021-09-27 16:28:38 +09:00
suggest-path-for-tuple-struct.stderr suggest path for tuple struct 2021-09-27 16:28:38 +09:00
suggest-path-instead-of-mod-dot-item.rs
suggest-path-instead-of-mod-dot-item.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
token-error-correct-2.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
token-error-correct-2.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
token-error-correct-3.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
token-error-correct-3.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
token-error-correct-4.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
token-error-correct-4.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
token-error-correct-4.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
token-error-correct.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
token-error-correct.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
tuple-struct-alias.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
tuple-struct-alias.stderr Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
typo-suggestion-named-underscore.rs Do not suggest things named underscore 2020-02-02 04:55:37 +09:00
typo-suggestion-named-underscore.stderr Do not suggest things named underscore 2020-02-02 04:55:37 +09:00
unboxed-closure-sugar-nonexistent-trait.rs
unboxed-closure-sugar-nonexistent-trait.stderr Add a suggestion when using a type alias instead of trait alias 2021-04-01 09:53:46 +09:00
unresolved_static_type_field.rs
unresolved_static_type_field.stderr
use-self-in-inner-fn.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
use-self-in-inner-fn.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
use_suggestion.rs Improve E0433, so that it suggests missing imports 2020-06-02 20:41:25 +02:00
use_suggestion.stderr Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
use_suggestion_placement.fixed Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use_suggestion_placement.rs Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use_suggestion_placement.stderr Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
visibility-indeterminate.rs
visibility-indeterminate.stderr update ui tests 2019-10-31 14:27:16 +01:00