rust/src/test/ui/suggestions
bors 9bb77da74d Auto merge of #87915 - estebank:fancy-spans, r=oli-obk
Use smaller spans for some structured suggestions

Use more accurate suggestion spans for

* argument parse error
* fully qualified path
* missing code block type
* numeric casts
2021-09-13 16:31:12 +00:00
..
auxiliary Add test for ref suggestions in macros. 2021-06-02 18:36:05 +02:00
dont-suggest-ref Modify structured suggestion output 2021-08-11 09:46:24 +00:00
lifetimes Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
as-ref-2.fixed Suggest .as_ref() on borrow error involving Option/Result 2021-04-19 17:14:37 -07:00
as-ref-2.rs Suggest .as_ref() on borrow error involving Option/Result 2021-04-19 17:14:37 -07:00
as-ref-2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
as-ref.rs Suggest .as_ref() on borrow error involving Option/Result 2021-04-19 17:14:37 -07:00
as-ref.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
assoc-const-as-field.rs
assoc-const-as-field.stderr
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
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 note to point at bound introducing requirement 2021-08-16 17:47:22 +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 Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
borrow-for-loop-head.rs
borrow-for-loop-head.stderr Change wording of note 2021-01-08 14:57:35 -05: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
const-no-type.rs Updated tests to reflect specified types in E0121 2021-06-22 00:40:47 +08:00
const-no-type.stderr Updated tests to reflect specified types in E0121 2021-06-22 00:40:47 +08: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 Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
constrain-trait.fixed Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
constrain-trait.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
constrain-trait.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Suggest deriving traits if possible 2021-09-06 13:18:05 +02: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 Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
dont-suggest-try_into-in-macros.rs
dont-suggest-try_into-in-macros.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
expected-boxed-future-isnt-pinned.rs Uncomment test code for failure to use Box::pin 2020-05-01 16:53:20 -07:00
expected-boxed-future-isnt-pinned.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +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 Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
fn-needing-specified-return-type-param.rs On FnDef type annotation suggestion, use fn-pointer output 2020-04-18 20:51:11 -07:00
fn-needing-specified-return-type-param.stderr On FnDef type annotation suggestion, use fn-pointer output 2020-04-18 20:51:11 -07:00
fn-or-tuple-struct-with-underscore-args.rs Add underscore expressions for destructuring assignments 2020-11-14 13:53:12 +00:00
fn-or-tuple-struct-with-underscore-args.stderr Add underscore expressions for destructuring assignments 2020-11-14 13:53:12 +00:00
fn-or-tuple-struct-without-args.rs
fn-or-tuple-struct-without-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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 Avoid ICE caused by suggestion 2021-08-12 10:24:01 +00:00
format-borrow.rs Add test for removing &mut for &mut format!(). 2021-06-02 19:06:45 +02:00
format-borrow.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
if-let-typo.rs Remove Session.if_let_suggestions 2021-08-27 18:28:22 -05:00
if-let-typo.stderr Remove Session.if_let_suggestions 2021-08-27 18:28:22 -05: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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
imm-ref-trait-object-literal.rs
imm-ref-trait-object-literal.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +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.nll.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.rs Change error code number 2020-07-22 13:12:34 -07:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impl-on-dyn-trait-with-implicit-static-bound.fixed Change error code number 2020-07-22 13:12:34 -07:00
impl-on-dyn-trait-with-implicit-static-bound.nll.stderr Update ui tests (nll) 2021-02-02 18:57:34 +01:00
impl-on-dyn-trait-with-implicit-static-bound.rs Change error code number 2020-07-22 13:12:34 -07:00
impl-on-dyn-trait-with-implicit-static-bound.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impl-trait-missing-lifetime.rs Account for impl Trait 2020-02-05 10:32:01 -08:00
impl-trait-missing-lifetime.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impl-trait-return-trailing-semicolon.rs
impl-trait-return-trailing-semicolon.stderr Check opaque types satisfy their bounds 2020-10-06 11:19:30 +01: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 Stop sorting bodies by span. 2021-09-01 20:13:16 +02: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
into-str.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
into-str.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00: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 Suggest type param trait bound for binop only when appropriate 2020-06-24 16:17:04 -07:00
issue-21673.rs
issue-21673.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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.rs
issue-52820.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Address PR feedback 2021-06-25 14:51:56 +02:00
issue-61963.stderr Link to edition guide instead of issues for 2021 lints. 2021-08-09 17:45:01 +02:00
issue-62843.rs
issue-62843.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 add ui test 2020-01-04 10:58:04 -08:00
issue-66968-suggest-sorted-words.stderr add ui test 2020-01-04 10:58:04 -08:00
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-72766.rs Return early to avoid ICE 2020-05-30 18:48:54 +09:00
issue-72766.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
issue-81098.rs Refine "remove semicolon" suggestion in trait selection 2021-01-26 13:23:30 +03:00
issue-81098.stderr Refine "remove semicolon" suggestion in trait selection 2021-01-26 13:23:30 +03:00
issue-81839.rs Add regression test 2021-02-18 16:47:01 +03:00
issue-81839.stderr Tweak opaque type mismatch error 2021-07-31 12:20:00 -07: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 add suggestion for unit enum variant when matched with a patern 2021-05-02 13:58:38 +02: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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
issue-84973-blacklist.rs Implement jackh726's suggestions 2021-05-17 23:13:04 +02:00
issue-84973-blacklist.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
issue-84973-negative.rs Implement jackh726's suggestions 2021-05-17 23:13:04 +02:00
issue-84973-negative.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +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 Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
issue-85347.rs Add regression test 2021-05-16 19:01:28 +02:00
issue-85347.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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-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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-86667.rs Fix garbled suggestion for missing lifetime specifier 2021-06-28 00:56:24 +02:00
issue-86667.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00: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 Update tests for GATs 2019-12-21 12:35:28 +00:00
let-binding-init-expr-as-ty.stderr Update tests for GATs 2019-12-21 12:35:28 +00:00
match-ergonomics.rs
match-ergonomics.stderr Provide a suggestion when trying to destructure a Vec as a slice 2021-07-31 21:47:36 +02: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 Tweak opaque type mismatch error 2021-07-31 12:20:00 -07:00
match-prev-arm-needing-semi.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Detect match statement intended to be tail expression 2021-02-25 09:16:48 -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 When suggesting associated fn with type parameters, include in the structured suggestion 2020-02-04 18:20:10 -08:00
missing-assoc-fn-applicable-suggestions.stderr When suggesting associated fn with type parameters, include in the structured suggestion 2020-02-04 18:20:10 -08:00
missing-assoc-fn.rs When suggesting associated fn with type parameters, include in the structured suggestion 2020-02-04 18:20:10 -08:00
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-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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
missing-lifetime-specifier.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
missing-lifetime-specifier.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
missing-lt-for-hrtb.rs When suggesting for lts, consider existing lifetime names 2020-08-11 11:06:21 -07:00
missing-lt-for-hrtb.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
missing-trait-bound-for-op.fixed Suggest type param trait bound for binop only when appropriate 2020-06-24 16:17:04 -07:00
missing-trait-bound-for-op.rs Suggest type param trait bound for binop only when appropriate 2020-06-24 16:17:04 -07:00
missing-trait-bound-for-op.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
missing-trait-bounds-for-method-call.rs Avoid describing a method as 'not found' when bounds are unsatisfied 2021-01-26 23:59:50 -05:00
missing-trait-bounds-for-method-call.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
missing-trait-item.fixed review comment 2020-02-08 21:08:59 -08:00
missing-trait-item.rs
missing-trait-item.stderr
multibyte-escapes.rs Fix invalid suggestions for non-ASCII characters in byte constants 2021-07-31 15:21:11 +02:00
multibyte-escapes.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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 add suggestion for nested fields 2021-01-30 23:19:41 +01: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 add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-references-self.stderr Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
object-unsafe-trait-should-use-self.rs When object unsafe trait uses itself in associated item suggest using Self 2020-02-02 11:52:34 -08:00
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 Tweak "object unsafe" errors 2020-10-20 09:26:14 -07:00
object-unsafe-trait-should-use-where-sized.rs add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-where-sized.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
opaque-type-error.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
opaque-type-error.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
option-content-move2.rs
option-content-move2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
option-content-move.fixed
option-content-move.rs
option-content-move.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
path-by-value.rs
path-by-value.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
path-display.rs
path-display.stderr Update test stderr files 2021-06-16 01:13:28 -07:00
pattern-slice-vec.fixed Run rustfix in pattern-slice-vec.rs UI test 2021-08-02 18:36:43 +02:00
pattern-slice-vec.rs Run rustfix in pattern-slice-vec.rs UI test 2021-08-02 18:36:43 +02:00
pattern-slice-vec.stderr Run rustfix in pattern-slice-vec.rs UI test 2021-08-02 18:36:43 +02: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
recover-from-semicolon-trailing-item.rs
recover-from-semicolon-trailing-item.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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
remove-as_str.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
remove-as_str.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
restrict-type-argument.rs
restrict-type-argument.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
return-elided-lifetime.rs More minor fixes suggested by @jackh726 2021-05-10 15:02:15 +02:00
return-elided-lifetime.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
return-without-lifetime.rs
return-without-lifetime.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
slice-issue-87994.rs test: add case for mutating iterator 2021-09-07 00:51:27 -07:00
slice-issue-87994.stderr test: add case for mutating iterator 2021-09-07 00:51:27 -07: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
suggest-assoc-fn-call-with-turbofish-through-deref.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
suggest-assoc-fn-call-with-turbofish-through-deref.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-assoc-fn-call-with-turbofish.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
suggest-assoc-fn-call-with-turbofish.stderr Remove FnCtxt::impl_self_ty 2020-04-13 11:36:37 +09:00
suggest-box.fixed
suggest-box.rs
suggest-box.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-change-mut.rs In some limited cases, suggest where bounds for non-type params 2021-02-17 09:26:40 -08:00
suggest-change-mut.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-closure-return-type-1.rs
suggest-closure-return-type-1.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-closure-return-type-2.rs
suggest-closure-return-type-2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-closure-return-type-3.rs
suggest-closure-return-type-3.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Suggest full enum variant for local modules 2021-07-15 16:34:49 +04:00
suggest-impl-trait-lifetime.fixed Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
suggest-impl-trait-lifetime.nll.stderr
suggest-impl-trait-lifetime.rs Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
suggest-impl-trait-lifetime.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
suggest-labels.rs
suggest-labels.stderr resolve: disallow label use through closure/async 2020-07-02 13:48:32 +01:00
suggest-methods.rs
suggest-methods.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-move-lifetimes.rs
suggest-move-lifetimes.stderr update tests 2020-12-26 18:24:10 +01:00
suggest-move-types.rs address some review comments 2020-03-27 09:29:38 +01:00
suggest-move-types.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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
suggest-on-bare-closure-call.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-private-fields.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-private-fields.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-ref-macro.rs Add test for ref suggestions in macros. 2021-06-02 18:36:05 +02:00
suggest-ref-macro.stderr Stop sorting bodies by span. 2021-09-01 20:13:16 +02: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 Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07: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 Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07: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 Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
suggest-split-at-mut.rs Suggest split_at_mut on multiple mutable index access 2020-02-03 18:00:14 -08:00
suggest-split-at-mut.stderr Suggest split_at_mut on multiple mutable index access 2020-02-03 18:00:14 -08:00
suggest-std-when-using-type.rs
suggest-std-when-using-type.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
suggest-variants.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
suggest-variants.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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
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.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
unnamable-types.rs Updated tests to reflect specified types in E0121 2021-06-22 00:40:47 +08:00
unnamable-types.stderr Updated tests to reflect specified types in E0121 2021-06-22 00:40:47 +08: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 Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-typeck.rs Fix use placement for suggestions near main. 2021-05-18 07:37:14 -07:00
use-placement-typeck.stderr Fix use placement for suggestions near main. 2021-05-18 07:37:14 -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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00