rust/tests/ui/suggestions
bors 4d215e2426 Auto merge of #132404 - makai410:suggest-swap-lhs-rhs, r=fee1-dead
Suggest swapping LHS and RHS when RHS impls `PartialEq<lhs_ty>`

Closes: #130495
r? `@fee1-dead`
2024-11-06 11:49:52 +00:00
..
auxiliary UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dont-suggest-doc-hidden-variant-for-enum
dont-suggest-ref
lifetimes be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
types Add a regression test for #123630 2024-06-30 07:12:26 -04:00
abi-typo.fixed
abi-typo.rs
abi-typo.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
adt-param-with-implicit-sized-bound.rs
adt-param-with-implicit-sized-bound.stderr
args-instead-of-tuple-errors.rs
args-instead-of-tuple-errors.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
args-instead-of-tuple.fixed
args-instead-of-tuple.rs
args-instead-of-tuple.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
as-ref-2.rs
as-ref-2.stderr
as-ref.rs
as-ref.stderr
assoc_fn_without_self.rs
assoc_fn_without_self.stderr
assoc-const-as-field.rs
assoc-const-as-field.stderr
assoc-const-as-fn.rs
assoc-const-as-fn.stderr
assoc-const-without-self.rs
assoc-const-without-self.stderr
assoc-ct-for-assoc-method.rs
assoc-ct-for-assoc-method.stderr
assoc-type-in-method-return.rs
assoc-type-in-method-return.stderr
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
attribute-typos.rs
attribute-typos.stderr
bad-hex-float-lit.rs
bad-hex-float-lit.stderr
bad-infer-in-trait-impl.rs
bad-infer-in-trait-impl.stderr
bool_typo_err_suggest.rs
bool_typo_err_suggest.stderr
borrow-for-loop-head.rs
borrow-for-loop-head.stderr Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
bound-suggestions.fixed
bound-suggestions.rs
bound-suggestions.stderr
box-future-wrong-output.rs
box-future-wrong-output.stderr
boxed-variant-field.rs
boxed-variant-field.stderr
call-boxed.rs
call-boxed.stderr
call-on-missing.rs
call-on-missing.stderr
call-on-unimplemented-ctor.rs
call-on-unimplemented-ctor.stderr
call-on-unimplemented-fn-ptr.rs
call-on-unimplemented-fn-ptr.stderr
call-on-unimplemented-with-autoderef.rs
call-on-unimplemented-with-autoderef.stderr
chain-method-call-mutation-in-place.rs
chain-method-call-mutation-in-place.stderr
clone-bounds-121524.rs diagnostics: suggest Clone bounds when noop clone() 2024-03-08 09:34:38 -07:00
clone-bounds-121524.stderr diagnostics: suggest Clone bounds when noop clone() 2024-03-08 09:34:38 -07:00
clone-on-unconstrained-borrowed-type-param.fixed
clone-on-unconstrained-borrowed-type-param.rs
clone-on-unconstrained-borrowed-type-param.stderr tests: update tests for more conservative return ty mismatch note 2024-06-18 21:06:53 +00:00
const-in-struct-pat.rs
const-in-struct-pat.stderr
const-no-type.rs
const-no-type.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
const-pat-non-exaustive-let-new-var.rs
const-pat-non-exaustive-let-new-var.stderr
constrain-suggest-ice.rs
constrain-suggest-ice.stderr
constrain-trait.fixed
constrain-trait.rs
constrain-trait.stderr
copied-and-cloned.fixed
copied-and-cloned.rs
copied-and-cloned.stderr
core-std-import-order-issue-83564.no_std.fixed Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.no_std.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
core-std-import-order-issue-83564.rs Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.std.fixed Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.std.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
correct-binder-for-arbitrary-bound-sugg.rs
correct-binder-for-arbitrary-bound-sugg.stderr
count2len.rs
count2len.stderr
crate-or-module-typo.rs
crate-or-module-typo.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
deref-path-method.rs
deref-path-method.stderr Bless tests due to new method suggestions. 2024-09-07 21:06:49 +07:00
derive-clone-for-eq.fixed Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
derive-clone-for-eq.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
derive-clone-for-eq.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
derive-macro-missing-bounds.rs
derive-macro-missing-bounds.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
derive-trait-for-method-call.rs
derive-trait-for-method-call.stderr Use fulfillment, not evaluate, during method probe 2024-04-21 20:10:12 -04:00
do-not-attempt-to-add-suggestions-with-no-changes.rs
do-not-attempt-to-add-suggestions-with-no-changes.stderr
dont_suggest_raw_pointer_syntax-issue-127562.rs Remove invalid help diagnostics for const pointer 2024-07-16 01:56:27 +08:00
dont_suggest_raw_pointer_syntax-issue-127562.stderr Remove invalid help diagnostics for const pointer 2024-07-16 01:56:27 +08:00
dont-suggest-deref-inside-macro-issue-58298.rs
dont-suggest-deref-inside-macro-issue-58298.stderr
dont-suggest-foreign-doc-hidden.rs
dont-suggest-foreign-doc-hidden.stderr
dont-suggest-pin-array-dot-set.rs
dont-suggest-pin-array-dot-set.stderr
dont-suggest-private-trait-method.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
dont-suggest-private-trait-method.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
dont-suggest-try_into-in-macros.rs
dont-suggest-try_into-in-macros.stderr
dont-suggest-ufcs-for-const.rs
dont-suggest-ufcs-for-const.stderr
dont-try-removing-the-field.rs
dont-try-removing-the-field.stderr
dont-wrap-ambiguous-receivers.rs Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
dont-wrap-ambiguous-receivers.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
dyn-incompatible-trait-references-self.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-references-self.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self-2021-without-dyn.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
dyn-incompatible-trait-should-use-self-2021-without-dyn.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
dyn-incompatible-trait-should-use-self-2021.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self-2021.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.fixed UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
enum-method-probe.fixed
enum-method-probe.rs
enum-method-probe.stderr
enum-variant-arg-mismatch.rs
enum-variant-arg-mismatch.stderr
expected-boxed-future-isnt-pinned.rs
expected-boxed-future-isnt-pinned.stderr Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
field-access-considering-privacy.rs
field-access-considering-privacy.stderr
field-access.fixed
field-access.rs
field-access.stderr
field-has-method.rs
field-has-method.stderr
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
fn-missing-lifetime-in-item.rs
fn-missing-lifetime-in-item.stderr
fn-needing-specified-return-type-param.rs
fn-needing-specified-return-type-param.stderr
fn-or-tuple-struct-with-underscore-args.rs
fn-or-tuple-struct-with-underscore-args.stderr
fn-or-tuple-struct-without-args.rs
fn-or-tuple-struct-without-args.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
fn-to-method-deeply-nested.rs
fn-to-method-deeply-nested.stderr
fn-to-method.rs
fn-to-method.stderr
fn-trait-notation.fixed
fn-trait-notation.rs
fn-trait-notation.stderr
for-i-in-vec.fixed Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
for-i-in-vec.rs
for-i-in-vec.stderr Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
format-borrow.rs
format-borrow.stderr
ice-unwrap-probe-many-result-125876.rs Fix ICE due to unwrap in probe_for_name_many 2024-06-08 08:43:08 +05:30
ice-unwrap-probe-many-result-125876.stderr Fix ICE due to unwrap in probe_for_name_many 2024-06-08 08:43:08 +05:30
if-let-typo.rs
if-let-typo.stderr
if-then-neeing-semi.rs
if-then-neeing-semi.stderr
ignore-nested-field-binding.fixed
ignore-nested-field-binding.rs
ignore-nested-field-binding.stderr
imm-ref-trait-object-literal-bound-regions.rs
imm-ref-trait-object-literal-bound-regions.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
imm-ref-trait-object-literal.rs
imm-ref-trait-object-literal.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
imm-ref-trait-object.rs
imm-ref-trait-object.stderr
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.rs
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.stderr
impl-on-dyn-trait-with-implicit-static-bound.rs
impl-on-dyn-trait-with-implicit-static-bound.stderr
impl-trait-missing-lifetime-gated.rs elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
impl-trait-missing-lifetime-gated.stderr elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
impl-trait-missing-lifetime.rs
impl-trait-missing-lifetime.stderr
impl-trait-return-trailing-semicolon.rs
impl-trait-return-trailing-semicolon.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
impl-trait-with-missing-bounds.rs
impl-trait-with-missing-bounds.stderr
impl-trait-with-missing-trait-bounds-in-arg.fixed Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
impl-trait-with-missing-trait-bounds-in-arg.rs Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
impl-trait-with-missing-trait-bounds-in-arg.stderr Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
import-trait-for-method-call.rs
import-trait-for-method-call.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
incorrect-variant-literal.rs Add svg test for incorrect literal type suggestion 2024-07-18 18:20:32 +00:00
incorrect-variant-literal.svg Tweak "field not found" suggestion when giving struct literal for tuple struct type 2024-07-18 18:20:35 +00:00
inner_type2.rs
inner_type2.stderr
inner_type.fixed
inner_type.rs
inner_type.stderr
into-convert.rs
into-convert.stderr
into-str.rs
into-str.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
invalid-bin-op.rs
invalid-bin-op.stderr
issue-21673.rs
issue-21673.stderr
issue-51055-missing-semicolon-between-call-and-tuple.rs
issue-51055-missing-semicolon-between-call-and-tuple.stderr
issue-52820.fixed
issue-52820.rs
issue-52820.stderr
issue-53692.fixed
issue-53692.rs
issue-53692.stderr
issue-57672.rs
issue-59819.fixed
issue-59819.rs
issue-59819.stderr
issue-61226.fixed
issue-61226.rs
issue-61226.stderr
issue-61963.rs
issue-61963.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-62843.rs
issue-62843.stderr Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-64252-self-type.rs
issue-64252-self-type.stderr
issue-66968-suggest-sorted-words.rs
issue-66968-suggest-sorted-words.stderr
issue-68049-1.rs
issue-68049-1.stderr Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.rs Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.stderr Fix ... in multline code-skips in suggestions 2024-06-20 04:25:17 +00:00
issue-71394-no-from-impl.rs
issue-71394-no-from-impl.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-72766.rs
issue-72766.stderr
issue-79843-impl-trait-with-missing-bounds-on-async-fn.rs
issue-79843-impl-trait-with-missing-bounds-on-async-fn.stderr
issue-81098.rs
issue-81098.stderr
issue-81839.rs
issue-81839.stderr
issue-82361.fixed
issue-82361.rs
issue-82361.stderr
issue-82566-1.rs
issue-82566-1.stderr
issue-82566-2.rs
issue-82566-2.stderr
issue-83892.fixed
issue-83892.rs
issue-83892.stderr
issue-83943.fixed
issue-83943.rs
issue-83943.stderr
issue-84592.rs
issue-84592.stderr
issue-84700.rs
issue-84700.stderr Suggest the struct variant pattern syntax on usage of unit variant pattern for a struct variant 2024-08-28 22:55:57 +09:00
issue-84973-2.rs
issue-84973-2.stderr
issue-84973-blacklist.rs On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
issue-84973-blacklist.stderr On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
issue-84973-negative.rs
issue-84973-negative.stderr
issue-84973.rs
issue-84973.stderr
issue-85347.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
issue-85347.stderr Fix associated item removal suggestion 2024-07-17 21:30:40 +00:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.rs
issue-85943-no-suggest-unsized-indirection-in-where-clause.stderr
issue-85945-check-where-clause-before-suggesting-unsized.rs
issue-85945-check-where-clause-before-suggesting-unsized.stderr
issue-86100-tuple-paren-comma.rs
issue-86100-tuple-paren-comma.stderr
issue-86667.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-86667.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-88696.rs
issue-88696.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-88730.rs
issue-88730.stderr
issue-89064.rs Change suggestion message wording 2024-07-22 22:04:49 +00:00
issue-89064.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-89333.rs
issue-89333.stderr
issue-89640.rs
issue-89640.stderr
issue-90213-expected-boxfuture-self-ice.rs
issue-90213-expected-boxfuture-self-ice.stderr
issue-90974.rs
issue-90974.stderr
issue-94171.rs
issue-94171.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
issue-96223.rs
issue-96223.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-96555.rs
issue-96555.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-97677.fixed
issue-97677.rs
issue-97677.stderr
issue-97704.fixed
issue-97704.rs
issue-97704.stderr
issue-97760.rs
issue-97760.stderr
issue-98500.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
issue-98500.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
issue-98562.rs
issue-98562.stderr
issue-99080.rs
issue-99080.stderr
issue-99240-2.rs
issue-99240-2.stderr tests: remove some trailing ws 2024-04-27 10:54:31 +03:00
issue-99240.rs
issue-99240.stderr
issue-99597.rs
issue-99597.stderr
issue-101065.fixed
issue-101065.rs
issue-101065.stderr
issue-101421.rs
issue-101421.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-101465.rs
issue-101465.stderr
issue-101623.rs
issue-101623.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
issue-101984.rs
issue-101984.stderr
issue-102354.rs
issue-102354.stderr
issue-102892.rs
issue-102892.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
issue-102972.fixed
issue-102972.rs
issue-102972.stderr
issue-103112.rs
issue-103112.stderr
issue-103646.rs
issue-103646.stderr
issue-104086-suggest-let.rs
issue-104086-suggest-let.stderr
issue-104287.rs
issue-104287.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-104327.rs
issue-104327.stderr
issue-104328.rs Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch 2024-10-10 00:57:59 +02:00
issue-104328.stderr
issue-104961.fixed Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-104961.rs Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-104961.stderr Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-105226.rs
issue-105226.stderr
issue-105494.rs
issue-105494.stderr
issue-105645.rs
issue-105645.stderr
issue-105761-suggest-self-for-closure.fixed
issue-105761-suggest-self-for-closure.rs
issue-105761-suggest-self-for-closure.stderr
issue-106443-sugg-clone-for-arg.rs
issue-106443-sugg-clone-for-arg.stderr
issue-106443-sugg-clone-for-bound.rs
issue-106443-sugg-clone-for-bound.stderr
issue-107860.rs
issue-107860.stderr
issue-108470.fixed
issue-108470.rs
issue-108470.stderr
issue-109195.rs
issue-109195.stderr
issue-109291.rs
issue-109291.stderr Do not suggest unresolvable builder methods 2024-05-23 07:23:59 +05:30
issue-109396.rs
issue-109396.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
issue-109436.rs
issue-109436.stderr
issue-109854.rs
issue-109854.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
issue-109991.rs
issue-109991.stderr
issue-112590-suggest-import.rs
issue-112590-suggest-import.stderr
issue-114701.rs
issue-114701.stderr
issue-114797-bad-parentheses-dyn-trait.fixed blessings 2024-07-04 17:56:09 +02:00
issue-114797-bad-parentheses-dyn-trait.rs blessings 2024-07-04 17:56:09 +02:00
issue-114797-bad-parentheses-dyn-trait.stderr blessings 2024-07-04 17:56:09 +02:00
issue-116434-2015.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-116434-2015.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-116434-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-116434-2021.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-117669.rs
issue-117669.stderr
js-style-comparison-op-separate-eq-token.rs
js-style-comparison-op-separate-eq-token.stderr
js-style-comparison-op.fixed
js-style-comparison-op.rs
js-style-comparison-op.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
late-bound-in-borrow-closure-sugg.rs
late-bound-in-borrow-closure-sugg.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
let-binding-init-expr-as-ty.rs Implement RTN in resolve_bound_vars and HIR ty lowering 2024-09-20 22:18:57 -04:00
let-binding-init-expr-as-ty.stderr Implement RTN in resolve_bound_vars and HIR ty lowering 2024-09-20 22:18:57 -04:00
many-type-ascription.rs
many-type-ascription.stderr
match-ergonomics.rs
match-ergonomics.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
match-needing-semi.rs
match-needing-semi.stderr
match-prev-arm-needing-semi.rs
match-prev-arm-needing-semi.stderr
match-with-different-arm-types-as-stmt-instead-of-expr.rs
match-with-different-arm-types-as-stmt-instead-of-expr.stderr
method-access-to-range-literal-typo.fixed
method-access-to-range-literal-typo.rs
method-access-to-range-literal-typo.stderr
method-missing-parentheses.rs
method-missing-parentheses.stderr
mismatched-types-numeric-from.rs
mismatched-types-numeric-from.stderr
missing-assoc-fn-applicable-suggestions.rs
missing-assoc-fn-applicable-suggestions.stderr
missing-assoc-fn.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-fn.stderr Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-type-bound-restriction.rs
missing-bound-in-derive-copy-impl-2.fixed
missing-bound-in-derive-copy-impl-2.rs
missing-bound-in-derive-copy-impl-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
missing-bound-in-derive-copy-impl-3.fixed
missing-bound-in-derive-copy-impl-3.rs
missing-bound-in-derive-copy-impl-3.stderr
missing-bound-in-derive-copy-impl.rs
missing-bound-in-derive-copy-impl.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
missing-bound-in-manual-copy-impl-2.fixed
missing-bound-in-manual-copy-impl-2.rs
missing-bound-in-manual-copy-impl-2.stderr
missing-bound-in-manual-copy-impl.fixed
missing-bound-in-manual-copy-impl.rs
missing-bound-in-manual-copy-impl.stderr
missing-impl-trait-block-but-not-ascii.rs not use offset when there is not ends with brace 2024-06-23 23:44:22 +08:00
missing-impl-trait-block-but-not-ascii.stderr not use offset when there is not ends with brace 2024-06-23 23:44:22 +08:00
missing-lifetime-in-assoc-const-type.default.stderr Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-in-assoc-const-type.generic_const_items.stderr Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-in-assoc-const-type.rs Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-specifier.rs fix UI test 2024-05-25 09:37:08 +02:00
missing-lifetime-specifier.stderr fix UI test 2024-05-25 09:37:08 +02:00
missing-lt-for-hrtb.rs
missing-lt-for-hrtb.stderr
missing-semicolon.fixed
missing-semicolon.rs
missing-semicolon.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
missing-trait-item.fixed
missing-trait-item.rs
missing-trait-item.stderr
missing-type-param-used-in-param.fixed
missing-type-param-used-in-param.rs
missing-type-param-used-in-param.stderr
move-generic-to-trait-in-method-with-params.rs Change suggestion message wording 2024-07-22 22:04:49 +00:00
move-generic-to-trait-in-method-with-params.stderr Change suggestion message wording 2024-07-22 22:04:49 +00:00
multibyte-escapes.rs
multibyte-escapes.stderr
mut-borrow-needed-by-trait.rs Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
mut-borrow-needed-by-trait.stderr Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr
negative-literal-index.fixed
negative-literal-index.rs
negative-literal-index.stderr
nested-non-tuple-tuple-struct.rs
nested-non-tuple-tuple-struct.stderr Tweak "field not found" suggestion when giving struct literal for tuple struct type 2024-07-18 18:20:35 +00:00
no-extern-crate-in-type.rs
no-extern-crate-in-type.stderr
non_ascii_ident.rs
non_ascii_ident.stderr
non-existent-field-present-in-subfield-recursion-limit.rs
non-existent-field-present-in-subfield-recursion-limit.stderr
non-existent-field-present-in-subfield.fixed
non-existent-field-present-in-subfield.rs
non-existent-field-present-in-subfield.stderr
only-suggest-removal-of-conversion-method-calls.fixed
only-suggest-removal-of-conversion-method-calls.rs
only-suggest-removal-of-conversion-method-calls.stderr
opaque-type-error.rs
opaque-type-error.stderr
option-content-move2.rs Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move2.stderr Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move3.rs Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move3.stderr Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move-from-tuple-match.rs
option-content-move-from-tuple-match.stderr
option-content-move.fixed Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-content-move.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-content-move.stderr Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-to-bool.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
option-to-bool.stderr Remove useless configs in tests 2024-04-07 01:16:45 +02:00
parenthesized-deref-suggestion.rs
parenthesized-deref-suggestion.stderr Tweak raw-pointer field access and array indexing suggestions 2024-07-04 06:06:33 +00:00
partialeq_suggest_swap.rs suggest swapping the equality 2024-11-05 10:09:34 +08:00
partialeq_suggest_swap.stderr suggest swapping the equality 2024-11-05 10:09:34 +08:00
path-by-value.rs
path-by-value.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
path-display.rs
path-display.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
pattern-slice-vec.fixed
pattern-slice-vec.rs
pattern-slice-vec.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
pattern-struct-with-slice-vec-field.rs
pattern-struct-with-slice-vec-field.stderr
private-field.rs
private-field.stderr
range-index-instead-of-colon.rs
range-index-instead-of-colon.stderr
raw-byte-string-prefix.rs
raw-byte-string-prefix.stderr
raw-name-use-suggestion.rs
raw-name-use-suggestion.stderr
recover-from-semicolon-trailing-item.rs
recover-from-semicolon-trailing-item.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
recover-invalid-float-invalid.rs
recover-invalid-float-invalid.stderr
recover-invalid-float.fixed
recover-invalid-float.rs
recover-invalid-float.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
recover-missing-turbofish-surrounding-angle-braket.rs
recover-missing-turbofish-surrounding-angle-braket.stderr Do not underline suggestions for code that is already there 2024-08-01 18:53:42 +00:00
ref-pattern-binding.fixed
ref-pattern-binding.rs
ref-pattern-binding.stderr Tweak wording 2024-03-13 23:05:17 +00:00
removal-of-multiline-trait-bound-in-where-clause.rs
removal-of-multiline-trait-bound-in-where-clause.stderr
remove-question-symbol-with-paren.rs
remove-question-symbol-with-paren.stderr
restrict-existing-type-bounds.rs
restrict-existing-type-bounds.stderr
restrict-type-argument.rs
restrict-type-argument.stderr
restrict-type-not-param.rs
restrict-type-not-param.stderr
return-bindings-multi.rs
return-bindings-multi.stderr
return-bindings.rs
return-bindings.stderr
return-closures.rs
return-closures.stderr Use suggest_impl_trait in return type suggestion 2024-04-10 18:58:15 -04:00
return-cycle-2.rs
return-cycle-2.stderr
return-cycle.rs
return-cycle.stderr
return-elided-lifetime.rs
return-elided-lifetime.stderr
return-without-lifetime.rs
return-without-lifetime.stderr
shadowed-lplace-method-2.rs
shadowed-lplace-method-2.stderr
shadowed-lplace-method.fixed
shadowed-lplace-method.rs
shadowed-lplace-method.stderr
silenced-binding-typo.fixed
silenced-binding-typo.rs
silenced-binding-typo.stderr Update ui tests for leading-underscore suggestion 2024-05-30 21:39:41 -05:00
slice-issue-87994.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
slice-issue-87994.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
struct-field-type-including-single-colon.rs
struct-field-type-including-single-colon.stderr
struct-initializer-comma.fixed
struct-initializer-comma.rs
struct-initializer-comma.stderr
sugg_with_positional_args_and_debug_fmt.rs
sugg_with_positional_args_and_debug_fmt.stderr
sugg-else-for-closure.fixed
sugg-else-for-closure.rs
sugg-else-for-closure.stderr
suggest_print_over_printf.rs
suggest_print_over_printf.stderr
suggest-add-self-issue-128042.rs Fix a span error when parsing a wrong param of function. 2024-07-25 22:33:45 +08:00
suggest-add-self-issue-128042.stderr Fix a span error when parsing a wrong param of function. 2024-07-25 22:33:45 +08:00
suggest-add-self.rs
suggest-add-self.stderr
suggest-adding-reference-to-trait-assoc-item.fixed
suggest-adding-reference-to-trait-assoc-item.rs
suggest-adding-reference-to-trait-assoc-item.stderr
suggest-assoc-fn-call-deref.fixed
suggest-assoc-fn-call-deref.rs
suggest-assoc-fn-call-deref.stderr
suggest-assoc-fn-call-for-impl-trait.fixed
suggest-assoc-fn-call-for-impl-trait.rs
suggest-assoc-fn-call-for-impl-trait.stderr
suggest-assoc-fn-call-with-turbofish-placeholder.rs
suggest-assoc-fn-call-with-turbofish-placeholder.stderr
suggest-assoc-fn-call-with-turbofish-through-deref.rs
suggest-assoc-fn-call-with-turbofish-through-deref.stderr
suggest-assoc-fn-call-with-turbofish.fixed
suggest-assoc-fn-call-with-turbofish.rs
suggest-assoc-fn-call-with-turbofish.stderr
suggest-assoc-fn-call-without-receiver.fixed
suggest-assoc-fn-call-without-receiver.rs
suggest-assoc-fn-call-without-receiver.stderr
suggest-blanket-impl-local-trait.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-blanket-impl-local-trait.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-box.fixed
suggest-box.rs
suggest-box.stderr
suggest-boxed-empty-block.fixed
suggest-boxed-empty-block.rs
suggest-boxed-empty-block.stderr
suggest-call-on-pat-mismatch.rs
suggest-call-on-pat-mismatch.stderr
suggest-change-mut.rs
suggest-change-mut.stderr
suggest-closure-return-type-1.rs
suggest-closure-return-type-1.stderr
suggest-closure-return-type-2.rs
suggest-closure-return-type-2.stderr
suggest-closure-return-type-3.rs
suggest-closure-return-type-3.stderr
suggest-dereferencing-index.fixed
suggest-dereferencing-index.rs
suggest-dereferencing-index.stderr Trim output of E0277 in some cases 2024-11-02 03:08:04 +00:00
suggest-field-through-deref.fixed
suggest-field-through-deref.rs
suggest-field-through-deref.stderr
suggest-fn-ptr-for-fn-item-in-fn-ret.fixed
suggest-fn-ptr-for-fn-item-in-fn-ret.rs
suggest-fn-ptr-for-fn-item-in-fn-ret.stderr
suggest-full-enum-variant-for-local-module.rs
suggest-full-enum-variant-for-local-module.stderr
suggest-imm-mut-trait-implementations.rs
suggest-imm-mut-trait-implementations.stderr
suggest-impl-trait-lifetime.fixed
suggest-impl-trait-lifetime.rs
suggest-impl-trait-lifetime.stderr
suggest-labels.rs
suggest-labels.stderr
suggest-let-and-typo-issue-132483.rs Suggest fixing typos and let bindings at the same time 2024-11-02 14:40:37 -07:00
suggest-let-and-typo-issue-132483.stderr Suggest fixing typos and let bindings at the same time 2024-11-02 14:40:37 -07:00
suggest-let-for-assignment.fixed
suggest-let-for-assignment.rs
suggest-let-for-assignment.stderr
suggest-methods.rs
suggest-methods.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
suggest-move-lifetimes.rs
suggest-move-lifetimes.stderr
suggest-move-types.rs
suggest-move-types.stderr
suggest-mut-method-for-loop-closure.rs
suggest-mut-method-for-loop-closure.stderr
suggest-mut-method-for-loop-hashmap.fixed
suggest-mut-method-for-loop-hashmap.rs
suggest-mut-method-for-loop-hashmap.stderr
suggest-mut-method-for-loop.rs
suggest-mut-method-for-loop.stderr
suggest-null-ptr.fixed Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-null-ptr.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-null-ptr.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-on-bare-closure-call.rs
suggest-on-bare-closure-call.stderr
suggest-pin-macro.rs
suggest-pin-macro.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-ref-macro.rs
suggest-ref-macro.stderr
suggest-ref-mut.rs
suggest-ref-mut.stderr
suggest-remove-deref.fixed
suggest-remove-deref.rs
suggest-remove-deref.stderr
suggest-remove-refs-1.fixed
suggest-remove-refs-1.rs
suggest-remove-refs-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-2.fixed
suggest-remove-refs-2.rs
suggest-remove-refs-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-3.fixed
suggest-remove-refs-3.rs
suggest-remove-refs-3.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-4.fixed
suggest-remove-refs-4.rs
suggest-remove-refs-4.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-5.fixed
suggest-remove-refs-5.rs
suggest-remove-refs-5.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-ret-on-async-w-late.fixed
suggest-ret-on-async-w-late.rs
suggest-ret-on-async-w-late.stderr
suggest-semicolon-for-fn-in-extern-block.fixed
suggest-semicolon-for-fn-in-extern-block.rs
suggest-semicolon-for-fn-in-extern-block.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
suggest-slice-swap.fixed
suggest-slice-swap.rs
suggest-slice-swap.stderr
suggest-split-at-mut.rs Don't suggest split_at_mut when the multiple borrows have the same index 2024-04-25 16:55:33 +00:00
suggest-split-at-mut.stderr Check equivalence of indices in more cases 2024-04-25 16:55:33 +00:00
suggest-std-when-using-type.fixed
suggest-std-when-using-type.rs
suggest-std-when-using-type.stderr
suggest-swapping-self-ty-and-trait-edition-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-swapping-self-ty-and-trait-edition-2021.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-swapping-self-ty-and-trait.rs Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-swapping-self-ty-and-trait.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
suggest-trait-in-ufcs-in-hrtb.rs
suggest-trait-in-ufcs-in-hrtb.stderr
suggest-trait-items.rs
suggest-trait-items.stderr
suggest-tryinto-edition-change.rs Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
suggest-tryinto-edition-change.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
suggest-using-chars.rs
suggest-using-chars.stderr
suggest-variants.rs
suggest-variants.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
suppress-consider-slicing-issue-120605.rs Don't show suggestion if slice pattern is enclosed by any patterns 2024-03-17 19:21:13 +09:00
suppress-consider-slicing-issue-120605.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
too-many-field-suggestions.rs
too-many-field-suggestions.stderr
trait-hidden-method.rs
trait-hidden-method.stderr Stop inverting expectation in normalization errors 2024-10-16 13:44:56 -04:00
trait-impl-bound-suggestions.fixed Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
trait-impl-bound-suggestions.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
trait-impl-bound-suggestions.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
trait-with-missing-associated-type-restriction-fixable.fixed
trait-with-missing-associated-type-restriction-fixable.rs
trait-with-missing-associated-type-restriction-fixable.stderr
trait-with-missing-associated-type-restriction.rs
trait-with-missing-associated-type-restriction.stderr
try-operator-dont-suggest-semicolon.rs Don't suggest adding return type for closures with default return type 2024-08-28 12:54:39 +08:00
try-operator-dont-suggest-semicolon.stderr Don't suggest adding return type for closures with default return type 2024-08-28 12:54:39 +08:00
try-removing-the-field.rs
try-removing-the-field.stderr
type-ascription-and-other-error.rs
type-ascription-and-other-error.stderr
type-ascription-instead-of-let.fixed
type-ascription-instead-of-let.rs
type-ascription-instead-of-let.stderr
type-ascription-instead-of-method.fixed
type-ascription-instead-of-method.rs
type-ascription-instead-of-method.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-ascription-instead-of-path-2.fixed
type-ascription-instead-of-path-2.rs
type-ascription-instead-of-path-2.stderr
type-ascription-instead-of-path-in-type.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
type-ascription-instead-of-path-in-type.stderr Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
type-ascription-instead-of-path.rs
type-ascription-instead-of-path.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-ascription-instead-of-variant.fixed
type-ascription-instead-of-variant.rs
type-ascription-instead-of-variant.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-mismatch-byte-literal.rs
type-mismatch-byte-literal.stderr
type-mismatch-struct-field-shorthand-2.rs
type-mismatch-struct-field-shorthand-2.stderr
type-mismatch-struct-field-shorthand.fixed
type-mismatch-struct-field-shorthand.rs
type-mismatch-struct-field-shorthand.stderr
type-not-found-in-adt-field.rs
type-not-found-in-adt-field.stderr
undeclared-module-alloc.rs
undeclared-module-alloc.stderr
unnamable-types.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unnamable-types.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unnecessary_dot_for_floating_point_literal.rs
unnecessary_dot_for_floating_point_literal.stderr
unsized-function-parameter.fixed
unsized-function-parameter.rs
unsized-function-parameter.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
unused-closure-argument.rs
unused-closure-argument.stderr
unused-imports.fixed remove braces when fixing a nested use tree into a single use 2024-04-14 18:45:30 +02:00
unused-imports.rs remove braces when fixing a nested use tree into a single use 2024-04-14 18:45:30 +02:00
unused-imports.stderr Make early lints translatable 2024-05-21 20:16:39 +00:00
use-placement-resolve.fixed
use-placement-resolve.rs
use-placement-resolve.stderr
use-placement-typeck.fixed
use-placement-typeck.rs
use-placement-typeck.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
use-type-argument-instead-of-assoc-type.rs
use-type-argument-instead-of-assoc-type.stderr
while-let-typo.rs
while-let-typo.stderr
wrap-dyn-in-suggestion-issue-120223.rs Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
wrap-dyn-in-suggestion-issue-120223.stderr Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00