rust/src/test/ui/suggestions
bors 1eb62b1235 Auto merge of #104983 - matthiaskrgr:rollup-018sk73, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - #95836 (Use `rust_out{exe_suffix}` for doctests)
 - #104882 (notify lcnr on changes to `ObligationCtxt`)
 - #104892 (Explain how to get the discriminant out of a `#[repr(T)] enum` with payload)
 - #104917 (Allow non-org members to label `requires-debug-assertions`)
 - #104931 (Pretty-print generators with their `generator_kind`)
 - #104934 (Remove redundant `all` in cfg)
 - #104944 (Support unit tests for jsondoclint)
 - #104946 (rustdoc: improve popover focus handling JS)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
2022-11-27 17:10:58 +00:00
..
auxiliary Do not mention private Self types from other crates 2022-07-11 06:57:48 +00:00
dont-suggest-doc-hidden-variant-for-enum Do not prefer module parents which are doc(hidden) in visibility map 2022-07-24 21:27:03 +00:00
dont-suggest-ref Improve cannot move out of error message 2022-07-31 21:06:43 +03:00
lifetimes Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
abi-typo.fixed Improve the help message for an invalid calling convention 2022-09-22 22:18:30 +02:00
abi-typo.rs Improve the help message for an invalid calling convention 2022-09-22 22:18:30 +02:00
abi-typo.stderr Improve the help message for an invalid calling convention 2022-09-22 22:18:30 +02:00
adt-param-with-implicit-sized-bound.rs Provide help when T: ?Sized can't be suggested 2020-06-16 17:24:16 -07:00
adt-param-with-implicit-sized-bound.stderr Only keep a single well-formed query. 2022-06-21 23:56:17 +02:00
args-instead-of-tuple-errors.rs Test 1-tuple parentheses wrapping 2022-01-29 10:32:10 +00:00
args-instead-of-tuple-errors.stderr Shrink suggestion span of argument mismatch error 2022-09-03 05:54:13 +00:00
args-instead-of-tuple.fixed Test 1-tuple parentheses wrapping 2022-01-29 10:32:10 +00:00
args-instead-of-tuple.rs Test 1-tuple parentheses wrapping 2022-01-29 10:32:10 +00:00
args-instead-of-tuple.stderr Shrink suggestion span of argument mismatch error 2022-09-03 05:54:13 +00:00
as-ref-2.rs Make as_ref suggestion a note 2022-08-16 03:02:04 +00:00
as-ref-2.stderr Make as_ref suggestion a note 2022-08-16 03:02:04 +00:00
as-ref.rs remove a type string comparison 2022-08-10 11:42:46 +09:00
as-ref.stderr remove a type string comparison 2022-08-10 11:42:46 +09:00
assoc-const-as-field.rs
assoc-const-as-field.stderr Suggest path separator when a dot is used on a trait 2022-08-11 23:09:39 +02:00
assoc-type-in-method-return.rs
assoc-type-in-method-return.stderr Suggest calling associated fn inside traits 2020-10-26 16:31:11 -07:00
assoc_fn_without_self.rs suggest calling Self::associated_function() 2022-05-05 16:44:09 +09:00
assoc_fn_without_self.stderr suggest calling the method of the same name when method not found 2022-10-26 00:45:29 +08:00
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 Generalize call suggestion for unsatisfied predicate 2022-10-19 02:06:19 +00:00
attribute-typos.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
attribute-typos.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
bool_typo_err_suggest.rs sugg: suggest the usage of boolean value when there is a typo in the keyword 2022-08-22 22:53:40 +00:00
bool_typo_err_suggest.stderr sugg: suggest the usage of boolean value when there is a typo in the keyword 2022-08-22 22:53:40 +00:00
borrow-for-loop-head.rs
borrow-for-loop-head.stderr Tweak output in for loops 2022-11-23 12:17:47 -08:00
bound-suggestions.fixed Bless tests. 2022-04-30 13:55:17 +02:00
bound-suggestions.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
bound-suggestions.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
box-future-wrong-output.rs Fix incorrect Box::pin suggestion 2021-10-13 23:26:00 +00:00
box-future-wrong-output.stderr Fix incorrect Box::pin suggestion 2021-10-13 23:26:00 +00:00
boxed-variant-field.rs Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
boxed-variant-field.stderr Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
call-boxed.rs Use autoderef 2022-08-27 21:23:06 +00:00
call-boxed.stderr Use autoderef 2022-08-27 21:23:06 +00:00
call-on-missing.rs Suggest calling trait objects and parameters too, when possible 2022-08-27 23:08:44 +00:00
call-on-missing.stderr Suggest calling trait objects and parameters too, when possible 2022-08-27 23:08:44 +00:00
call-on-unimplemented-ctor.rs instantiate -> construct 2022-10-19 02:55:23 +00:00
call-on-unimplemented-ctor.stderr instantiate -> construct 2022-10-19 02:55:23 +00:00
call-on-unimplemented-fn-ptr.rs Generalize call suggestion for unsatisfied predicate 2022-10-19 02:06:19 +00:00
call-on-unimplemented-fn-ptr.stderr Generalize call suggestion for unsatisfied predicate 2022-10-19 02:06:19 +00:00
chain-method-call-mutation-in-place.rs Add explanation for &mut self method call when expecting -> Self 2020-08-16 18:33:30 -07:00
chain-method-call-mutation-in-place.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
const-in-struct-pat.rs When encountering an Item in a pat context, point at the item def 2020-03-06 15:29:26 -08:00
const-in-struct-pat.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
const-no-type.rs Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04:00
const-no-type.stderr Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04:00
const-pat-non-exaustive-let-new-var.rs Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-pat-non-exaustive-let-new-var.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
constrain-suggest-ice.rs fix 2022-03-07 21:55:58 +03:00
constrain-suggest-ice.stderr fix 2022-03-07 21:55:58 +03:00
constrain-trait.fixed
constrain-trait.rs
constrain-trait.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
copied-and-cloned.fixed Suggest copied or cloned 2022-09-03 07:30:30 +00:00
copied-and-cloned.rs Suggest copied or cloned 2022-09-03 07:30:30 +00:00
copied-and-cloned.stderr Suggest copied or cloned 2022-09-03 07:30:30 +00:00
core-std-import-order-issue-83564.rs Add regression test for issue #83564 2021-09-26 12:39:10 -07:00
core-std-import-order-issue-83564.stderr Correct inconsistent error messages in tests 2022-10-27 01:36:07 -05:00
count2len.rs Recommend fix count() -> len() on slices 2021-12-06 20:33:23 -07:00
count2len.stderr Recommend fix count() -> len() on slices 2021-12-06 20:33:23 -07:00
crate-or-module-typo.rs suggestion for typoed crate or module 2021-10-13 12:17:02 +09:00
crate-or-module-typo.stderr suggestion for typoed crate or module 2021-10-13 12:17:02 +09:00
deref-path-method.rs Suggest associated method on deref types 2022-09-03 07:24:55 +00:00
deref-path-method.stderr Suggest associated method on deref types 2022-09-03 07:24:55 +00:00
derive-clone-for-eq.fixed diagnostics: regression test for derive bounds 2022-03-29 10:19:19 -07:00
derive-clone-for-eq.rs diagnostics: regression test for derive bounds 2022-03-29 10:19:19 -07:00
derive-clone-for-eq.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
derive-macro-missing-bounds.rs Keep spans for generics in #[derive(_)] desugaring 2021-12-03 18:41:39 +00:00
derive-macro-missing-bounds.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
derive-trait-for-method-call.rs Suggest deriving traits if possible 2021-09-06 13:18:05 +02:00
derive-trait-for-method-call.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
do-not-attempt-to-add-suggestions-with-no-changes.rs Fix ICE caused by suggestion with no code substitutions 2021-02-13 19:52:12 -08:00
do-not-attempt-to-add-suggestions-with-no-changes.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
dont-suggest-deref-inside-macro-issue-58298.rs
dont-suggest-deref-inside-macro-issue-58298.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
dont-suggest-pin-array-dot-set.rs diagnostics: consider parameter count when suggesting smart pointers 2022-06-25 15:50:00 -07:00
dont-suggest-pin-array-dot-set.stderr distinguish the method and associated function diagnostic information 2022-07-08 17:23:36 -07:00
dont-suggest-try_into-in-macros.rs
dont-suggest-try_into-in-macros.stderr Bless tests 2021-10-15 02:36:58 -05:00
dont-suggest-ufcs-for-const.rs Add regression test 2022-11-14 19:29:37 +00:00
dont-suggest-ufcs-for-const.stderr Add regression test 2022-11-14 19:29:37 +00:00
dont-try-removing-the-field.rs improve "try ignoring the field" diagnostic 2022-08-12 12:32:43 +03:00
dont-try-removing-the-field.stderr improve "try ignoring the field" diagnostic 2022-08-12 12:32:43 +03:00
dont-wrap-ambiguous-receivers.rs Do not suggest wrapping an item if it has ambiguous un-imported methods 2022-02-21 16:45:35 -08:00
dont-wrap-ambiguous-receivers.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
enum-method-probe.fixed address comments 2022-05-30 14:23:15 -07:00
enum-method-probe.rs address comments 2022-05-30 14:23:15 -07:00
enum-method-probe.stderr address comments 2022-05-30 14:23:15 -07:00
expected-boxed-future-isnt-pinned.rs Suggest Box::pin when Pin::new is used instead 2021-10-14 01:06:25 +00:00
expected-boxed-future-isnt-pinned.stderr Pretty-print generators with their generator_kind 2022-11-26 20:42:50 +01:00
field-access-considering-privacy.rs Skip over structs with no private fields that impl Deref 2022-08-03 07:02:56 +00:00
field-access-considering-privacy.stderr Skip over structs with no private fields that impl Deref 2022-08-03 07:02:56 +00:00
field-access.fixed Improve wording of suggestion about accessing field 2021-02-02 15:16:07 +09:00
field-access.rs Improve wording of suggestion about accessing field 2021-02-02 15:16:07 +09:00
field-access.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
field-has-method.rs suggestion if struct field has method 2022-04-24 16:47:19 -07:00
field-has-method.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Generalize call suggestion for unsatisfied predicate 2022-10-19 02:06:19 +00:00
fn-missing-lifetime-in-item.rs Suggest 'r instead of 'lifetime 2020-02-05 10:32:01 -08:00
fn-missing-lifetime-in-item.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
fn-needing-specified-return-type-param.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
fn-needing-specified-return-type-param.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
fn-or-tuple-struct-with-underscore-args.rs Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
fn-or-tuple-struct-with-underscore-args.stderr Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
fn-or-tuple-struct-without-args.rs
fn-or-tuple-struct-without-args.stderr Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
fn-to-method.rs Suggest calling method if fn does not exist 2022-10-05 06:42:49 +00:00
fn-to-method.stderr Suggest calling method if fn does not exist 2022-10-05 06:42:49 +00:00
fn-trait-notation.fixed Test ui suggestion fn trait notation 2020-05-30 18:40:42 +02:00
fn-trait-notation.rs Test ui suggestion fn trait notation 2020-05-30 18:40:42 +02:00
fn-trait-notation.stderr Test ui suggestion fn trait notation 2020-05-30 18:40:42 +02:00
for-i-in-vec.fixed Avoid ICE caused by suggestion 2021-08-12 10:24:01 +00:00
for-i-in-vec.rs Avoid ICE caused by suggestion 2021-08-12 10:24:01 +00:00
for-i-in-vec.stderr Tweak move error 2022-03-03 21:21:57 +00:00
format-borrow.rs Add test for removing &mut for &mut format!(). 2021-06-02 19:06:45 +02:00
format-borrow.stderr suggest type annotation for local statement initialed by ref expression 2022-10-24 17:16:31 +08:00
if-let-typo.rs Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
if-let-typo.stderr fix #103587, Recover from common if let syntax mistakes/typos 2022-11-08 14:10:04 +08:00
if-then-neeing-semi.rs add a test to check if suggest_remove_semi_or_return_binding is working well for if-else 2022-07-31 11:36:04 +09:00
if-then-neeing-semi.stderr add a test to check if suggest_remove_semi_or_return_binding is working well for if-else 2022-07-31 11:36:04 +09:00
ignore-nested-field-binding.fixed Fix suggestion for nested struct patterns 2021-09-12 02:05:07 +02:00
ignore-nested-field-binding.rs Fix suggestion for nested struct patterns 2021-09-12 02:05:07 +02:00
ignore-nested-field-binding.stderr Fix suggestion for nested struct patterns 2021-09-12 02:05:07 +02:00
imm-ref-trait-object-literal-bound-regions.rs Fix debug assertion in error code 2020-05-08 17:25:44 +01:00
imm-ref-trait-object-literal-bound-regions.stderr Rework point-at-arg 2022-08-21 02:34:52 +00:00
imm-ref-trait-object-literal.rs
imm-ref-trait-object-literal.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
imm-ref-trait-object.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
imm-ref-trait-object.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
impl-on-dyn-trait-with-implicit-static-bound.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
impl-on-dyn-trait-with-implicit-static-bound.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
impl-trait-missing-lifetime-gated.rs Use kw::Empty for elided lifetimes in path. 2022-11-24 17:48:59 +00:00
impl-trait-missing-lifetime-gated.stderr Use kw::Empty for elided lifetimes in path. 2022-11-24 17:48:59 +00:00
impl-trait-missing-lifetime.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
impl-trait-missing-lifetime.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
impl-trait-return-trailing-semicolon.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
impl-trait-return-trailing-semicolon.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
impl-trait-with-missing-bounds.rs Handle desugaring in impl trait bound suggestion 2020-12-19 20:37:51 -05:00
impl-trait-with-missing-bounds.stderr use gathered body_owners in par_body_owners 2022-07-13 12:22:25 -04:00
impl-trait-with-missing-trait-bounds-in-arg.fixed
impl-trait-with-missing-trait-bounds-in-arg.rs
impl-trait-with-missing-trait-bounds-in-arg.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
import-trait-for-method-call.rs Account for unsatisfied bounds in E0599 2021-05-01 17:18:04 -07:00
import-trait-for-method-call.stderr Consider privacy more carefully when suggesting accessing fields 2022-08-03 06:51:26 +00:00
inner_type.fixed Deduplicate some logic 2022-09-28 02:36:58 +02:00
inner_type.rs Deduplicate some logic 2022-09-28 02:36:58 +02:00
inner_type.stderr Deduplicate some logic 2022-09-28 02:36:58 +02:00
inner_type2.rs Update UI test 2022-11-05 22:56:38 +00:00
inner_type2.stderr Update UI test 2022-11-05 22:56:38 +00:00
into-convert.rs Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
into-convert.stderr Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
into-str.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
into-str.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
invalid-bin-op.rs Suggest type param trait bound for binop only when appropriate 2020-06-24 16:17:04 -07:00
invalid-bin-op.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
issue-21673.rs
issue-21673.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
issue-51055-missing-semicolon-between-call-and-tuple.rs
issue-51055-missing-semicolon-between-call-and-tuple.stderr reword ; suggestions to have consistent wording 2021-02-21 16:27:29 -08:00
issue-52820.fixed remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-52820.rs remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-52820.stderr remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-53692.fixed remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-53692.rs remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-53692.stderr remove a string matching about methods 2022-07-11 02:19:45 +09:00
issue-57672.rs
issue-59819.fixed
issue-59819.rs
issue-59819.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-61226.fixed Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
issue-61226.rs Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
issue-61226.stderr Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
issue-61963.rs Bless tests. 2021-12-04 23:13:58 +01:00
issue-61963.stderr bless ui tests 2022-10-01 10:03:06 +00:00
issue-62843.rs
issue-62843.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
issue-64252-self-type.rs
issue-64252-self-type.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
issue-66968-suggest-sorted-words.rs
issue-66968-suggest-sorted-words.stderr
issue-68049-1.rs Fix CI problems 2021-05-11 08:50:43 +04:30
issue-68049-1.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-68049-2.rs Fix CI problems 2021-05-11 08:50:43 +04:30
issue-68049-2.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-71394-no-from-impl.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-71394-no-from-impl.stderr Rework point-at-arg 2022-08-21 02:34:52 +00:00
issue-72766.rs Support incremental in compiletest for non-incremental modes. 2021-09-23 12:16:51 -07:00
issue-72766.stderr Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.rs Handle desugaring in impl trait bound suggestion 2020-12-19 20:37:51 -05:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
issue-81098.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-81098.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-81839.rs Add regression test 2021-02-18 16:47:01 +03:00
issue-81839.stderr Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
issue-82361.fixed Improve error msgs when found type is deref of expected 2021-02-23 10:50:06 +03:00
issue-82361.rs Improve error msgs when found type is deref of expected 2021-02-23 10:50:06 +03:00
issue-82361.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
issue-82566-1.rs Recover from X<Y,Z> when parsing const expr 2021-02-27 14:06:57 +03:00
issue-82566-1.stderr Fix suggesting turbofish with lifetime arguments 2022-01-13 19:45:29 -08:00
issue-82566-2.rs Recover from X<Y,Z> when parsing const expr 2021-02-27 14:06:57 +03:00
issue-82566-2.stderr Fix suggesting turbofish with lifetime arguments 2022-01-13 19:45:29 -08:00
issue-83892.fixed Use a more appropriate span for ; suggestion 2021-04-06 19:23:22 -07:00
issue-83892.rs Use a more appropriate span for ; suggestion 2021-04-06 19:23:22 -07:00
issue-83892.stderr Use a more appropriate span for ; suggestion 2021-04-06 19:23:22 -07:00
issue-83943.fixed Account for ExprKind::Block when suggesting .into() and deref 2021-04-06 17:23:48 -07:00
issue-83943.rs Account for ExprKind::Block when suggesting .into() and deref 2021-04-06 17:23:48 -07:00
issue-83943.stderr Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
issue-84592.rs Implement @jackh726's suggestions 2021-05-09 22:35:18 +02:00
issue-84592.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
issue-84700.rs add suggestion for unit enum variant when matched with a patern 2021-05-02 13:58:38 +02:00
issue-84700.stderr Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
issue-84973-2.rs Suggest borrowing if a trait implementation is found for &/&mut <type> 2021-05-16 16:20:35 +02:00
issue-84973-2.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
issue-84973-blacklist.rs Point at argument when evaluating Path's bounds 2021-09-16 12:12:28 +00:00
issue-84973-blacklist.stderr Rework point-at-arg 2022-08-21 02:34:52 +00:00
issue-84973-negative.rs Implement jackh726's suggestions 2021-05-17 23:13:04 +02:00
issue-84973-negative.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
issue-84973.rs Suggest borrowing if a trait implementation is found for &/&mut <type> 2021-05-16 16:20:35 +02:00
issue-84973.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
issue-85347.rs Deny associated type bindings within associated type bindings 2022-09-27 17:41:34 +00:00
issue-85347.stderr Deny associated type bindings within associated type bindings 2022-09-27 17:41:34 +00:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.rs don't suggest unsized indirection in where-clauses 2021-06-03 17:19:57 -05:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
issue-85945-check-where-clause-before-suggesting-unsized.rs Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
issue-85945-check-where-clause-before-suggesting-unsized.stderr check where clause before suggesting unsized 2021-11-15 22:31:55 -06:00
issue-86100-tuple-paren-comma.rs Suggest a trailing comma if a 1-tuple is expected 2021-06-07 23:16:03 +02:00
issue-86100-tuple-paren-comma.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
issue-86667.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
issue-86667.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
issue-88730.rs fix(lint): don't suggest refutable patterns to "fix" irrefutable bind 2021-09-29 09:15:35 -07:00
issue-88730.stderr fix(lint): don't suggest refutable patterns to "fix" irrefutable bind 2021-09-29 09:15:35 -07:00
issue-89064.rs Support method calls 2022-08-28 17:51:28 +09:00
issue-89064.stderr Support method calls 2022-08-28 17:51:28 +09:00
issue-89333.rs Don't use Default, since the impls are different on wasm 2021-10-01 17:21:39 -04:00
issue-89333.stderr Don't use Default, since the impls are different on wasm 2021-10-01 17:21:39 -04:00
issue-90213-expected-boxfuture-self-ice.rs Fix ICE when forgetting to Box a parameter to a Self::func call 2021-10-24 00:33:29 -04:00
issue-90213-expected-boxfuture-self-ice.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
issue-90974.rs Avoid suggesting literal formatting that turns into member access 2021-11-17 17:23:15 -07:00
issue-90974.stderr Avoid suggesting literal formatting that turns into member access 2021-11-17 17:23:15 -07:00
issue-96223.rs Taking review hints into account. 2022-05-03 22:23:30 +02:00
issue-96223.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
issue-96555.rs Fix incorrect syntax suggestion with pub async fn 2022-05-08 09:34:02 +09:00
issue-96555.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
issue-97677.fixed Adjust spacing in suggestion, add a test 2022-09-08 02:06:48 +00:00
issue-97677.rs Fix suggestion regression with incorrect syntactic combination of trait bounds 2022-07-15 18:06:20 -07:00
issue-97677.stderr Adjust spacing in suggestion, add a test 2022-09-08 02:06:48 +00:00
issue-97704.fixed Do suggest_await_before_try with infer in self, clean up binders 2022-06-05 18:46:48 -07:00
issue-97704.rs Do suggest_await_before_try with infer in self, clean up binders 2022-06-05 18:46:48 -07:00
issue-97704.stderr Do suggest_await_before_try with infer in self, clean up binders 2022-06-05 18:46:48 -07:00
issue-97760.rs Properly replace impl Trait in fn args, turn {integer} to i32 2022-06-11 16:38:48 -07:00
issue-97760.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
issue-98500.rs Fix span issues in object safety suggestions 2022-06-25 14:59:45 -07:00
issue-98500.stderr Fix span issues in object safety suggestions 2022-06-25 14:59:45 -07:00
issue-99080.rs Do not mention private Self types from other crates 2022-07-11 06:57:48 +00:00
issue-99080.stderr Do not mention private Self types from other crates 2022-07-11 06:57:48 +00:00
issue-99240-2.rs use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering path 2022-07-17 04:58:38 +00:00
issue-99240-2.stderr use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering path 2022-07-17 04:58:38 +00:00
issue-99240.rs Be more precise when suggesting removal of parens on unit adt ctor 2022-07-16 22:15:41 +00:00
issue-99240.stderr Be more precise when suggesting removal of parens on unit adt ctor 2022-07-16 22:15:41 +00:00
issue-101065.fixed diagnostics: avoid syntactically invalid suggestion in if conditionals 2022-09-23 14:27:44 -07:00
issue-101065.rs diagnostics: avoid syntactically invalid suggestion in if conditionals 2022-09-23 14:27:44 -07:00
issue-101065.stderr diagnostics: avoid syntactically invalid suggestion in if conditionals 2022-09-23 14:27:44 -07:00
issue-101421.rs Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments 2022-09-05 20:47:20 +00:00
issue-101421.stderr Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments 2022-09-05 20:47:20 +00:00
issue-101465.rs Fix ICE in opt_suggest_box_span 2022-09-12 02:00:20 +00:00
issue-101465.stderr Fix ICE in opt_suggest_box_span 2022-09-12 02:00:20 +00:00
issue-101623.rs Be careful about expr_ty_adjusted when noting block tail type 2022-09-09 19:42:52 +00:00
issue-101623.stderr Be careful about expr_ty_adjusted when noting block tail type 2022-09-09 19:42:52 +00:00
issue-101984.rs Better binder treatment 2022-09-20 16:39:39 +00:00
issue-101984.stderr address review 2022-09-26 14:21:39 +02:00
issue-102354.rs diagnostics: add test case for issue 102354 2022-10-25 15:28:02 -07:00
issue-102354.stderr diagnostics: only show one suggestion for method -> assoc fn 2022-11-18 10:39:26 -07:00
issue-102892.rs suggest type annotation for local statement initialed by ref expression 2022-10-24 17:16:31 +08:00
issue-102892.stderr suggest type annotation for local statement initialed by ref expression 2022-10-24 17:16:31 +08:00
issue-103112.rs fix #103112, add diagnostic for calling a function with the same name when a Macro is not found 2022-10-20 11:55:30 +08:00
issue-103112.stderr fix span for suggestion 2022-10-20 11:55:30 +08:00
issue-104086-suggest-let.rs fix tests and code cleanup 2022-11-09 17:10:33 +08:00
issue-104086-suggest-let.stderr add 'is_assign_rhs' to avoid weird suggesting 'let' 2022-11-10 00:43:12 +08:00
issue-104287.rs Add a UI test to ensure rustc doesn't do arithmetic overflows 2022-11-19 18:54:19 +01:00
issue-104287.stderr Add a UI test to ensure rustc doesn't do arithmetic overflows 2022-11-19 18:54:19 +01:00
js-style-comparison-op-separate-eq-token.rs Detect JS-style === and !== and recover 2020-08-10 11:44:09 -07:00
js-style-comparison-op-separate-eq-token.stderr Detect JS-style === and !== and recover 2020-08-10 11:44:09 -07:00
js-style-comparison-op.fixed Detect JS-style === and !== and recover 2020-08-10 11:44:09 -07:00
js-style-comparison-op.rs Detect JS-style === and !== and recover 2020-08-10 11:44:09 -07:00
js-style-comparison-op.stderr Detect JS-style === and !== and recover 2020-08-10 11:44:09 -07:00
let-binding-init-expr-as-ty.rs
let-binding-init-expr-as-ty.stderr Refactor path segment parameter error 2022-06-15 02:50:34 +01:00
many-type-ascription.rs New ui tests for new soft feature gates 2022-08-17 06:59:46 -05:00
many-type-ascription.stderr New ui tests for new soft feature gates 2022-08-17 06:59:46 -05:00
match-ergonomics.rs
match-ergonomics.stderr bless clippy tests 2022-06-16 15:51:12 +03:00
match-needing-semi.rs Do not suggest ; if expression is side effect free 2021-02-21 16:34:37 -08:00
match-needing-semi.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
match-prev-arm-needing-semi.rs Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
match-prev-arm-needing-semi.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
match-with-different-arm-types-as-stmt-instead-of-expr.rs Detect match statement intended to be tail expression 2021-02-25 09:16:48 -08:00
match-with-different-arm-types-as-stmt-instead-of-expr.stderr slightly improve no return for returning function error 2022-10-04 19:13:40 +08:00
method-missing-parentheses.rs review comment: wording 2020-02-10 13:58:36 -08:00
method-missing-parentheses.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
mismatched-types-numeric-from.rs
mismatched-types-numeric-from.stderr
missing-assoc-fn-applicable-suggestions.fixed pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
missing-assoc-fn-applicable-suggestions.rs
missing-assoc-fn-applicable-suggestions.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
missing-assoc-fn.rs
missing-assoc-fn.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
missing-assoc-type-bound-restriction.rs Normalize projection bounds when considering candidates 2020-10-06 11:19:31 +01:00
missing-bound-in-derive-copy-impl-2.fixed On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl-2.rs On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl-2.stderr On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl-3.fixed On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl-3.rs On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl-3.stderr Tighten spans for bad fields in Copy struct 2022-06-03 19:17:12 -07:00
missing-bound-in-derive-copy-impl.rs On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
missing-bound-in-derive-copy-impl.stderr Tighten spans for bad fields in Copy struct 2022-06-03 19:17:12 -07:00
missing-bound-in-manual-copy-impl-2.fixed Use impl generics when suggesting fix on copy impl 2022-07-26 01:48:34 +00:00
missing-bound-in-manual-copy-impl-2.rs Use impl generics when suggesting fix on copy impl 2022-07-26 01:48:34 +00:00
missing-bound-in-manual-copy-impl-2.stderr Allow more !Copy impls 2022-09-23 21:51:40 +02:00
missing-bound-in-manual-copy-impl.fixed Use impl generics when suggesting fix on copy impl 2022-07-26 01:48:34 +00:00
missing-bound-in-manual-copy-impl.rs Use impl generics when suggesting fix on copy impl 2022-07-26 01:48:34 +00:00
missing-bound-in-manual-copy-impl.stderr Allow more !Copy impls 2022-09-23 21:51:40 +02:00
missing-lifetime-in-assoc-const-type.rs Suggest using 'static in assoc consts and suggest when multiple lts are needed 2020-08-11 13:02:14 -07:00
missing-lifetime-in-assoc-const-type.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
missing-lifetime-specifier.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
missing-lifetime-specifier.stderr Change how suggested lifetime args are computed. 2022-11-24 17:48:42 +00:00
missing-lt-for-hrtb.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
missing-lt-for-hrtb.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
missing-trait-item.fixed review comment 2020-02-08 21:08:59 -08:00
missing-trait-item.rs
missing-trait-item.stderr
missing-type-param-used-in-param.fixed Suggest _ in turbofish if param will be inferred from fn argument 2021-09-23 14:08:47 +00:00
missing-type-param-used-in-param.rs Suggest _ in turbofish if param will be inferred from fn argument 2021-09-23 14:08:47 +00:00
missing-type-param-used-in-param.stderr Suggest _ in turbofish if param will be inferred from fn argument 2021-09-23 14:08:47 +00:00
move-generic-to-trait-in-method-with-params.rs Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments 2022-09-05 20:47:20 +00:00
move-generic-to-trait-in-method-with-params.stderr Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments 2022-09-05 20:47:20 +00:00
multibyte-escapes.rs Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
multibyte-escapes.stderr Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
mut-borrow-needed-by-trait.rs Adjust self-type to require equality 2021-05-21 10:16:53 -04:00
mut-borrow-needed-by-trait.stderr Deduplicate errors that come from places like normalization, sized 2022-08-21 02:35:11 +00:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr better lvalue errors for things implementing DerefMut 2022-05-17 21:20:24 -07:00
negative-literal-index.fixed Detect when negative literal indices are used and suggest appropriate code 2021-09-26 16:52:10 +00:00
negative-literal-index.rs Detect when negative literal indices are used and suggest appropriate code 2021-09-26 16:52:10 +00:00
negative-literal-index.stderr review comments 2021-09-28 16:13:39 +00:00
nested-non-tuple-tuple-struct.rs Fix span used for structured tuple struct suggestion 2021-09-01 20:17:15 -07:00
nested-non-tuple-tuple-struct.stderr Ensure suggestion is in its own diagnostic window 2021-09-01 20:20:46 -07:00
no-extern-crate-in-type.rs
no-extern-crate-in-type.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
non-existent-field-present-in-subfield-recursion-limit.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
non-existent-field-present-in-subfield-recursion-limit.stderr add suggestion for nested fields 2021-01-30 23:19:41 +01:00
non-existent-field-present-in-subfield.fixed Fix non-existent-field ICE for generic fields. 2021-02-03 18:36:48 +01:00
non-existent-field-present-in-subfield.rs Fix non-existent-field ICE for generic fields. 2021-02-03 18:36:48 +01:00
non-existent-field-present-in-subfield.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
object-unsafe-trait-references-self.rs
object-unsafe-trait-references-self.stderr Move object safety suggestions to the end of the error 2021-09-15 14:48:53 +00:00
object-unsafe-trait-should-use-self.rs
object-unsafe-trait-should-use-self.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
object-unsafe-trait-should-use-where-sized.fixed Fix span issues in object safety suggestions 2022-06-25 14:59:45 -07:00
object-unsafe-trait-should-use-where-sized.rs
object-unsafe-trait-should-use-where-sized.stderr Auto merge of #98222 - cjgillot:single-wf, r=michaelwoerister 2022-06-28 03:44:33 +00:00
opaque-type-error.rs
opaque-type-error.stderr Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
option-content-move-from-tuple-match.rs diagnostics: do not give Option::as_ref suggestion for complex match 2022-03-19 15:54:30 -07:00
option-content-move-from-tuple-match.stderr diagnostics: do not give Option::as_ref suggestion for complex match 2022-03-19 15:54:30 -07:00
option-content-move.rs Make as_ref suggestion a note 2022-08-16 03:02:04 +00:00
option-content-move.stderr Make as_ref suggestion a note 2022-08-16 03:02:04 +00:00
option-content-move2.rs
option-content-move2.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
option-to-bool.rs Suggest is_some or let when encountering Option and bool type mismatch 2022-11-09 20:00:24 +00:00
option-to-bool.stderr Suggest is_some or let when encountering Option and bool type mismatch 2022-11-09 20:00:24 +00:00
parenthesized-deref-suggestion.rs replace guess_head_span with def_span 2022-07-06 19:09:47 +09:00
parenthesized-deref-suggestion.stderr replace guess_head_span with def_span 2022-07-06 19:09:47 +09:00
path-by-value.rs
path-by-value.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
path-display.rs Suggest calling .display() on PathBuf too 2022-02-21 16:58:12 -08:00
path-display.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
pattern-slice-vec.fixed Adjust an expr span to account for macros 2022-07-29 06:02:11 +00:00
pattern-slice-vec.rs Adjust an expr span to account for macros 2022-07-29 06:02:11 +00:00
pattern-slice-vec.stderr Adjust an expr span to account for macros 2022-07-29 06:02:11 +00:00
pattern-struct-with-slice-vec-field.rs implement Deref for Bar 2022-04-18 13:08:23 +09:00
pattern-struct-with-slice-vec-field.stderr implement Deref for Bar 2022-04-18 13:08:23 +09:00
private-field.rs Don't suggest inaccessible fields 2022-01-26 09:47:52 +01:00
private-field.stderr Don't suggest inaccessible fields 2022-01-26 09:47:52 +01:00
raw-byte-string-prefix.rs Suggest br if the unknown string prefix rb is found 2021-07-31 15:37:36 +02:00
raw-byte-string-prefix.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
raw-name-use-suggestion.rs
raw-name-use-suggestion.stderr Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
recover-from-semicolon-trailing-item.rs
recover-from-semicolon-trailing-item.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
recover-invalid-float.fixed
recover-invalid-float.rs
recover-invalid-float.stderr
recover-missing-turbofish-surrounding-angle-braket.rs Account for trailing closing angle brackets 2020-07-23 16:25:39 -07:00
recover-missing-turbofish-surrounding-angle-braket.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
ref-pattern-binding.fixed Account for x @ y and suggest ref x @ ref y 2022-11-23 12:17:48 -08:00
ref-pattern-binding.rs Account for x @ y and suggest ref x @ ref y 2022-11-23 12:17:48 -08:00
ref-pattern-binding.stderr Account for x @ y and suggest ref x @ ref y 2022-11-23 12:17:48 -08:00
removal-of-multiline-trait-bound-in-where-clause.rs Account for suggestions for complete removal of lines 2022-03-09 23:51:10 +00:00
removal-of-multiline-trait-bound-in-where-clause.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
remove-as_str.rs
remove-as_str.stderr
restrict-type-argument.rs
restrict-type-argument.stderr Bless tests. 2022-04-30 13:55:17 +02:00
restrict-type-not-param.rs Adjust spacing in suggestion, add a test 2022-09-08 02:06:48 +00:00
restrict-type-not-param.stderr Adjust spacing in suggestion, add a test 2022-09-08 02:06:48 +00:00
return-bindings-multi.rs Suggest returning binding from block or enclosing scope on coerce_forced_unit error 2022-07-20 03:58:33 +00:00
return-bindings-multi.stderr Suggest returning binding from block or enclosing scope on coerce_forced_unit error 2022-07-20 03:58:33 +00:00
return-bindings.rs And for patterns too 2022-07-21 07:43:00 +00:00
return-bindings.stderr And for patterns too 2022-07-21 07:43:00 +00:00
return-closures.rs Add test for APIT 2022-08-28 04:11:57 +00:00
return-closures.stderr address review 2022-09-26 14:21:39 +02:00
return-cycle-2.rs Do not report cycle error when inferring return type for suggestion 2022-08-16 03:00:32 +00:00
return-cycle-2.stderr Do not report cycle error when inferring return type for suggestion 2022-08-16 03:00:32 +00:00
return-cycle.rs Do not report cycle error when inferring return type for suggestion 2022-08-16 03:00:32 +00:00
return-cycle.stderr Do not report cycle error when inferring return type for suggestion 2022-08-16 03:00:32 +00:00
return-elided-lifetime.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
return-elided-lifetime.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
return-without-lifetime.rs
return-without-lifetime.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
slice-issue-87994.rs test: add case for mutating iterator 2021-09-07 00:51:27 -07:00
slice-issue-87994.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
struct-field-type-including-single-colon.rs fix a suggestion message 2022-03-11 21:26:06 +09:00
struct-field-type-including-single-colon.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
struct-initializer-comma.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
struct-initializer-comma.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
struct-initializer-comma.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
sugg-else-for-closure.fixed fix #102320, suggest unwrap_or_else when a closure is passed to unwrap_or instead of suggesting calling it 2022-10-02 18:36:52 +08:00
sugg-else-for-closure.rs fix #102320, suggest unwrap_or_else when a closure is passed to unwrap_or instead of suggesting calling it 2022-10-02 18:36:52 +08:00
sugg-else-for-closure.stderr fix #102320, suggest unwrap_or_else when a closure is passed to unwrap_or instead of suggesting calling it 2022-10-02 18:36:52 +08:00
sugg_with_positional_args_and_debug_fmt.rs sugg: take into count the debug formatting 2022-08-23 21:57:30 +00:00
sugg_with_positional_args_and_debug_fmt.stderr sugg: take into count the debug formatting 2022-08-23 21:57:30 +00:00
suggest-add-self.rs Avoid suggesting self in visibility spec 2021-12-12 11:14:10 +01:00
suggest-add-self.stderr Avoid suggesting self in visibility spec 2021-12-12 11:14:10 +01:00
suggest-adding-reference-to-trait-assoc-item.fixed suggest adding a reference to a trait assoc item 2022-08-20 02:51:20 +09:00
suggest-adding-reference-to-trait-assoc-item.rs suggest adding a reference to a trait assoc item 2022-08-20 02:51:20 +09:00
suggest-adding-reference-to-trait-assoc-item.stderr Bless tests after #100769 2022-08-21 04:04:05 +00:00
suggest-assoc-fn-call-deref.fixed Do autoderef to match impl against rcvr 2022-11-14 19:29:37 +00:00
suggest-assoc-fn-call-deref.rs Do autoderef to match impl against rcvr 2022-11-14 19:29:37 +00:00
suggest-assoc-fn-call-deref.stderr Do autoderef to match impl against rcvr 2022-11-14 19:29:37 +00:00
suggest-assoc-fn-call-with-turbofish-placeholder.rs Split non-fixable case to different test 2022-11-05 22:56:38 +00:00
suggest-assoc-fn-call-with-turbofish-placeholder.stderr Split non-fixable case to different test 2022-11-05 22:56:38 +00:00
suggest-assoc-fn-call-with-turbofish-through-deref.rs
suggest-assoc-fn-call-with-turbofish-through-deref.stderr Attempt to fix arguments of associated functions 2022-11-05 22:56:37 +00:00
suggest-assoc-fn-call-with-turbofish.fixed Split non-fixable case to different test 2022-11-05 22:56:38 +00:00
suggest-assoc-fn-call-with-turbofish.rs Split non-fixable case to different test 2022-11-05 22:56:38 +00:00
suggest-assoc-fn-call-with-turbofish.stderr Split non-fixable case to different test 2022-11-05 22:56:38 +00:00
suggest-blanket-impl-local-trait.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
suggest-blanket-impl-local-trait.stderr A SubstitutionPart is not a deletion if it replaces nothing with nothing 2022-09-12 22:08:30 +00:00
suggest-borrow-to-dyn-object.rs Fix trait object reborrow suggestion 2022-06-28 21:42:52 +00:00
suggest-borrow-to-dyn-object.stderr Rework point-at-arg 2022-08-21 02:34:52 +00:00
suggest-box.fixed
suggest-box.rs
suggest-box.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
suggest-change-mut.rs Handle empty where-clause better 2022-06-11 16:27:01 -07:00
suggest-change-mut.stderr Account for relative paths 2022-08-21 02:34:52 +00:00
suggest-closure-return-type-1.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
suggest-closure-return-type-1.stderr Show source of ambiguity in a few more places 2022-07-01 17:38:34 +00:00
suggest-closure-return-type-2.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
suggest-closure-return-type-2.stderr Show source of ambiguity in a few more places 2022-07-01 17:38:34 +00:00
suggest-closure-return-type-3.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
suggest-closure-return-type-3.stderr Show source of ambiguity in a few more places 2022-07-01 17:38:34 +00:00
suggest-dereferencing-index.fixed suggest dereferencing index when trying to use a reference of usize as index 2022-07-24 22:26:44 +09:00
suggest-dereferencing-index.rs suggest dereferencing index when trying to use a reference of usize as index 2022-07-24 22:26:44 +09:00
suggest-dereferencing-index.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
suggest-full-enum-variant-for-local-module.rs Suggest full enum variant for local modules 2021-07-15 16:34:49 +04:00
suggest-full-enum-variant-for-local-module.stderr Update tests. 2021-11-16 19:52:59 +01:00
suggest-imm-mut-trait-implementations.rs test suggesting immutable or mutable trait implementations 2021-09-27 00:59:57 +09:00
suggest-imm-mut-trait-implementations.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
suggest-impl-trait-lifetime.fixed Fully stabilize NLL 2022-06-03 17:16:41 -04:00
suggest-impl-trait-lifetime.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
suggest-impl-trait-lifetime.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
suggest-labels.rs
suggest-labels.stderr resolve: disallow label use through closure/async 2020-07-02 13:48:32 +01:00
suggest-let-for-assignment.fixed fix rust-lang#101880: suggest let for assignment, and some code refactor 2022-10-20 22:54:02 +08:00
suggest-let-for-assignment.rs fix rust-lang#101880: suggest let for assignment, and some code refactor 2022-10-20 22:54:02 +08:00
suggest-let-for-assignment.stderr fix rust-lang#101880: suggest let for assignment, and some code refactor 2022-10-20 22:54:02 +08:00
suggest-methods.rs
suggest-methods.stderr Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank 2022-08-26 09:51:40 +09:00
suggest-move-lifetimes.rs
suggest-move-lifetimes.stderr review 2022-09-09 14:28:57 +02:00
suggest-move-types.rs address some review comments 2020-03-27 09:29:38 +01:00
suggest-move-types.stderr review 2022-09-09 14:28:57 +02:00
suggest-mut-method-for-loop-hashmap.fixed diagnostics: add regression test for #82081 2022-03-28 11:48:14 -07:00
suggest-mut-method-for-loop-hashmap.rs diagnostics: add regression test for #82081 2022-03-28 11:48:14 -07:00
suggest-mut-method-for-loop-hashmap.stderr diagnostics: add regression test for #82081 2022-03-28 11:48:14 -07:00
suggest-mut-method-for-loop.rs Add test 2021-02-05 22:12:31 +09:00
suggest-mut-method-for-loop.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
suggest-on-bare-closure-call.rs Fix wrap parenthesis suggestion for async closure 2022-07-04 08:07:12 +00:00
suggest-on-bare-closure-call.stderr Fix wrap parenthesis suggestion for async closure 2022-07-04 08:07:12 +00:00
suggest-ref-macro.rs Add test for ref suggestions in macros. 2021-06-02 18:36:05 +02:00
suggest-ref-macro.stderr Adjust span of fn arguments 2022-08-12 15:21:39 +00:00
suggest-ref-mut.rs
suggest-ref-mut.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
suggest-remove-refs-1.fixed pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-1.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-1.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
suggest-remove-refs-2.fixed pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-2.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-2.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
suggest-remove-refs-3.fixed pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-3.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-remove-refs-3.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
suggest-semicolon-for-fn-in-extern-block.fixed Expect extern fn with no body when parsing 2021-12-06 11:16:46 -07:00
suggest-semicolon-for-fn-in-extern-block.rs Expect extern fn with no body when parsing 2021-12-06 11:16:46 -07:00
suggest-semicolon-for-fn-in-extern-block.stderr Expect extern fn with no body when parsing 2021-12-06 11:16:46 -07:00
suggest-split-at-mut.rs
suggest-split-at-mut.stderr
suggest-std-when-using-type.fixed Make test run-rustfix 2022-06-07 14:03:14 -07:00
suggest-std-when-using-type.rs Make test run-rustfix 2022-06-07 14:03:14 -07:00
suggest-std-when-using-type.stderr Make test run-rustfix 2022-06-07 14:03:14 -07:00
suggest-swapping-self-ty-and-trait-edition-2021.rs move suggestions to its own method 2022-06-09 17:52:10 +09:00
suggest-swapping-self-ty-and-trait-edition-2021.stderr A SubstitutionPart is not a deletion if it replaces nothing with nothing 2022-09-12 22:08:30 +00:00
suggest-swapping-self-ty-and-trait.rs move suggestions to its own method 2022-06-09 17:52:10 +09:00
suggest-swapping-self-ty-and-trait.stderr bless ui tests 2022-10-01 10:03:06 +00:00
suggest-trait-items.rs Suggest similarly named assoc items in trait impls 2021-09-29 00:22:32 +09:00
suggest-trait-items.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
suggest-tryinto-edition-change.rs Correct inconsistent error messages in tests 2022-10-27 01:36:07 -05:00
suggest-tryinto-edition-change.stderr Correct inconsistent error messages in tests 2022-10-27 01:36:07 -05:00
suggest-using-chars.rs Move some tests to more reasonable places 2022-04-26 23:38:04 -03:00
suggest-using-chars.stderr Consider privacy more carefully when suggesting accessing fields 2022-08-03 06:51:26 +00:00
suggest-variants.rs
suggest-variants.stderr Remove some usages of guess_head_span from typeck 2022-07-15 03:17:20 +00:00
too-many-field-suggestions.rs Do not report too many expr field candidates 2022-08-25 18:59:48 +00:00
too-many-field-suggestions.stderr Do not report too many expr field candidates 2022-08-25 18:59:48 +00:00
trait-with-missing-associated-type-restriction-fixable.fixed On type mismatch involving associated type, suggest constraint 2020-05-02 18:23:46 -07:00
trait-with-missing-associated-type-restriction-fixable.rs On type mismatch involving associated type, suggest constraint 2020-05-02 18:23:46 -07:00
trait-with-missing-associated-type-restriction-fixable.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
trait-with-missing-associated-type-restriction.rs Don't type_of on trait assoc ty without default 2020-05-12 10:56:26 -07:00
trait-with-missing-associated-type-restriction.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
try-operator-dont-suggest-semicolon.rs Do not suggest adding a semicolon after ? 2021-07-11 17:22:44 +02:00
try-operator-dont-suggest-semicolon.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
try-removing-the-field.rs improve "try ignoring the field" diagnostic 2022-08-12 12:32:43 +03:00
try-removing-the-field.stderr improve "try ignoring the field" diagnostic 2022-08-12 12:32:43 +03:00
type-ascription-and-other-error.rs New ui tests for new soft feature gates 2022-08-17 06:59:46 -05:00
type-ascription-and-other-error.stderr New ui tests for new soft feature gates 2022-08-17 06:59:46 -05:00
type-ascription-instead-of-let.rs
type-ascription-instead-of-let.stderr
type-ascription-instead-of-method.fixed Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-method.rs Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-method.stderr Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-path-2.fixed Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-path-2.rs Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-path-2.stderr Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-path-in-type.rs Detect :: -> : typo in type argument 2022-02-02 01:19:24 +00:00
type-ascription-instead-of-path-in-type.stderr Detect :: -> : typo in type argument 2022-02-02 01:19:24 +00:00
type-ascription-instead-of-path.rs Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
type-ascription-instead-of-path.stderr Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
type-ascription-instead-of-variant.fixed Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-variant.rs Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-instead-of-variant.stderr Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-mismatch-struct-field-shorthand-2.rs
type-mismatch-struct-field-shorthand-2.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
type-mismatch-struct-field-shorthand.fixed
type-mismatch-struct-field-shorthand.rs
type-mismatch-struct-field-shorthand.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
type-not-found-in-adt-field.rs Suggest new type param on single char ident 2020-06-16 17:36:55 -07:00
type-not-found-in-adt-field.stderr Suggest new type param on single char ident 2020-06-16 17:36:55 -07:00
undeclared-module-alloc.rs add a suggestion about undeclared alloc module 2021-11-03 01:44:01 +09:00
undeclared-module-alloc.stderr fix message 2021-11-03 13:53:57 +09:00
unnamable-types.rs generic_arg_infer: placeholder in signature err 2022-01-18 12:23:43 +01:00
unnamable-types.stderr Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04:00
unnecessary_dot_for_floating_point_literal.rs emit errors when using RangeFrom and RangeTo 2022-11-11 10:51:02 +09:00
unnecessary_dot_for_floating_point_literal.stderr emit errors when using RangeFrom and RangeTo 2022-11-11 10:51:02 +09:00
unsized-function-parameter.fixed Add test for suggestion to borrow unsized function parameters 2021-05-06 12:06:43 -07:00
unsized-function-parameter.rs Add test for suggestion to borrow unsized function parameters 2021-05-06 12:06:43 -07:00
unsized-function-parameter.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
unused-closure-argument.rs
unused-closure-argument.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
use-placement-resolve.fixed Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-resolve.rs Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-resolve.stderr Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-typeck.fixed remove find_use_placement 2022-03-31 17:20:03 -04:00
use-placement-typeck.rs Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-typeck.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
use-type-argument-instead-of-assoc-type.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
use-type-argument-instead-of-assoc-type.stderr use smaller span for suggestions 2022-08-27 15:22:08 +09:00
while-let-typo.rs Suggest while let x = y when encountering while x = y 2021-12-29 13:23:19 +01:00
while-let-typo.stderr Suggest while let x = y when encountering while x = y 2021-12-29 13:23:19 +01:00