rust/src/test/ui/suggestions
Mara Bos 835faa532f
Rollup merge of #79032 - lcnr:arg-count, r=varkor
improve type const mismatch errors

Doesn't completely remove `check_generic_arg_count` as that would have required some more complex changes but
instead checks type and const params in only one step. Also moved the help added by `@JulianKnodt` in #75611 to `generic_arg_mismatch_err`.

r? `@varkor` cc `@petrochenkov`
2020-11-16 17:26:35 +01:00
..
auxiliary tests: Add minimal reproduction of #61963. 2019-07-20 19:17:26 +01:00
dont-suggest-ref pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
lifetimes pretty.rs: Update Closure and Generator print 2020-09-28 01:27:19 -04: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
as-ref.rs Suggest .as_ref() when appropriate for Option and Result 2018-12-28 11:16:23 -08:00
as-ref.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
assoc-const-as-field.rs Provide suggestion when using field access instead of path 2019-03-24 19:21:54 -07:00
assoc-const-as-field.stderr Deduplicate code for path suggestion 2019-03-24 19:43:02 -07:00
assoc-type-in-method-return.rs Suggest assoc type on type not found in trait method definition 2019-07-13 21:17:38 -07:00
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 Suggest calling async closure when needed 2019-11-16 16:24:00 -08:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 mv std libs to library/ 2020-07-27 19:51:13 -05:00
borrow-for-loop-head.rs When moving out of a for loop head, suggest borrowing it 2019-03-24 11:46:13 -07:00
borrow-for-loop-head.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
const-no-type.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
const-no-type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
dont-suggest-deref-inside-macro-issue-58298.rs Account for fully overlapping multiline annotations 2019-03-27 19:35:30 -07:00
dont-suggest-deref-inside-macro-issue-58298.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
dont-suggest-try_into-in-macros.rs Do not suggest try_into for base types inside of macro expansions 2019-08-15 11:46:52 -07:00
dont-suggest-try_into-in-macros.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs Suggest calling async closure when needed 2019-11-16 16:24:00 -08:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07: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 review comments: wording 2020-02-05 10:32:01 -08: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 Suggest calling closure with resolved return type when appropriate 2019-08-23 11:59:04 -07:00
fn-or-tuple-struct-without-args.stderr Tweak ordering of suggestions 2020-08-10 12:04:10 -07: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 Suggest borrowing Vec<NonCopy> in for loop 2020-01-21 11:11:00 -08:00
for-i-in-vec.rs Suggest borrowing Vec<NonCopy> in for loop 2020-01-21 11:11:00 -08:00
for-i-in-vec.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
format-borrow.rs Suggest removal of & when borrowing macro and appropriate 2019-03-02 11:25:00 -08:00
format-borrow.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
if-let-typo.rs Implement destructuring assignment for structs and slices 2020-11-11 12:10:52 +00:00
if-let-typo.stderr Implement destructuring assignment for structs and slices 2020-11-11 12:10:52 +00: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 Fix debug assertion in error code 2020-05-08 17:25:44 +01:00
imm-ref-trait-object-literal.rs Note when a mutable trait object is needed 2019-10-09 10:17:29 -07:00
imm-ref-trait-object-literal.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.nll.stderr Change error code number 2020-07-22 13:12:34 -07: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 Change error code number 2020-07-22 13:12:34 -07: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 Handle fully-qualified paths and add test cases 2020-07-22 12:25:55 -07: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 Change error code number 2020-07-22 13:12:34 -07:00
impl-trait-missing-lifetime.rs Account for impl Trait 2020-02-05 10:32:01 -08:00
impl-trait-missing-lifetime.stderr Account for impl Trait 2020-02-05 10:32:01 -08:00
impl-trait-return-trailing-semicolon.rs On return type impl Trait for block with no expr point at last semi 2019-03-04 13:17:54 -08:00
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
impl-trait-with-missing-bounds.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
impl-trait-with-missing-trait-bounds-in-arg.fixed Correctly suggest adding bounds to impl Trait argument 2019-08-22 10:15:57 -07:00
impl-trait-with-missing-trait-bounds-in-arg.rs Correctly suggest adding bounds to impl Trait argument 2019-08-22 10:15:57 -07:00
impl-trait-with-missing-trait-bounds-in-arg.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
into-str.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
into-str.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Suggest trait bound on type parameter when it is unconstrained 2019-07-18 11:50:50 -07:00
issue-21673.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
issue-51055-missing-semicolon-between-call-and-tuple.rs in which the E0618 "expected function" diagnostic gets a makeover 2018-11-10 22:12:33 -08:00
issue-51055-missing-semicolon-between-call-and-tuple.stderr Use smaller def span for functions 2020-08-22 18:41:49 -04:00
issue-52820.rs Account for short-hand init structs when suggesting conversion 2019-05-26 11:39:48 -07:00
issue-52820.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-57672.rs Apply review suggestions 2019-11-06 00:00:00 +00:00
issue-59819.fixed Only make suggestion when type is Copy. 2019-04-22 19:26:24 +01:00
issue-59819.rs Only make suggestion when type is Copy. 2019-04-22 19:26:24 +01:00
issue-59819.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Fix tests 2020-05-20 15:33:58 -04:00
issue-61963.stderr Fix tests 2020-05-20 15:33:58 -04:00
issue-62843.rs Add note suggesting to borrow a String argument to find 2019-07-25 10:11:03 -07:00
issue-62843.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-64252-self-type.rs syntax: improve parameter without type suggestions 2019-10-02 09:51:27 +01:00
issue-64252-self-type.stderr parser: address review comments re. self. 2020-02-02 13:32:37 +01: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-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 Tweak "use .await" suggestion 2020-10-23 08:02:57 -07: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 Add if let test 2019-04-29 20:58:29 -07:00
match-ergonomics.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
match-needing-semi.fixed review comments 2019-09-28 09:56:28 -07:00
match-needing-semi.rs review comments 2019-09-28 09:56:28 -07:00
match-needing-semi.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
match-prev-arm-needing-semi.rs Add more .await suggestions on E0308 2020-10-23 08:06:41 -07:00
match-prev-arm-needing-semi.stderr Suggest semicolon removal and boxing when appropriate 2020-10-23 08:06:41 -07:00
method-missing-parentheses.rs review comment: wording 2020-02-10 13:58:36 -08:00
method-missing-parentheses.stderr Add span label to primary error span 2020-03-22 11:18:06 -07:00
mismatched-types-numeric-from.rs Do not suggest .try_into() on i32::from(x) 2019-08-22 13:37:35 -07:00
mismatched-types-numeric-from.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
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 Suggest using 'static in assoc consts and suggest when multiple lts are needed 2020-08-11 13:02:14 -07:00
missing-lifetime-specifier.rs Do not emit E0228 when it is implied by E0106 2020-08-13 18:30:00 -07:00
missing-lifetime-specifier.stderr Do not emit E0228 when it is implied by E0106 2020-08-13 18:30:00 -07: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 When suggesting for lts, consider existing lifetime names 2020-08-11 11:06:21 -07: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 Suggest type param trait bound for binop only when appropriate 2020-06-24 16:17:04 -07:00
missing-trait-bounds-for-method-call.rs Suggest constraining type parameters 2020-02-28 11:37:59 -08:00
missing-trait-bounds-for-method-call.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
missing-trait-item.fixed review comment 2020-02-08 21:08:59 -08:00
missing-trait-item.rs Suggest missing item from trait in impl 2019-11-06 10:00:59 -08:00
missing-trait-item.stderr Suggest missing item from trait in impl 2019-11-06 10:00:59 -08:00
mut-borrow-needed-by-trait.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
mut-borrow-needed-by-trait.stderr Retry fix error reporting suggestions 2020-09-16 23:52:41 -04:00
mut-ref-reassignment.rs Add regression test for negative case 2019-05-23 10:32:01 -07:00
mut-ref-reassignment.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
no-extern-crate-in-type.rs filter suggestions from extern prelude 2019-03-18 11:13:15 -04:00
no-extern-crate-in-type.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04: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 review comments 2020-10-20 09:26:15 -07: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 review comments 2020-10-20 09:26:15 -07: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 review comments 2020-10-20 09:26:15 -07:00
opaque-type-error.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
opaque-type-error.stderr Add more .await suggestions on E0308 2020-10-23 08:06:41 -07:00
option-content-move.fixed Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
option-content-move.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
option-content-move.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
option-content-move2.rs Don't suggest wrong snippet in closure 2019-12-12 11:13:13 +09:00
option-content-move2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
path-by-value.rs
path-by-value.stderr Add unsized_fn_params feature 2020-10-27 14:45:02 -03:00
path-display.rs Suggest using .display() when trying to print a Path 2018-12-12 16:54:27 -08:00
path-display.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
raw-name-use-suggestion.rs Accurately portray raw identifiers in error messages 2019-12-03 19:01:42 -08:00
raw-name-use-suggestion.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
recover-from-semicolon-trailing-item.rs Recover from item trailing semicolon 2019-01-13 17:29:32 -08:00
recover-from-semicolon-trailing-item.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
recover-invalid-float.fixed Suggest try_into when possible 2019-04-29 14:38:26 -07:00
recover-invalid-float.rs Suggest try_into when possible 2019-04-29 14:38:26 -07:00
recover-invalid-float.stderr Suggest try_into when possible 2019-04-29 14:38:26 -07:00
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 Account for trailing closing angle brackets 2020-07-23 16:25:39 -07: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 Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
restrict-type-argument.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
return-without-lifetime.rs Suggest adding lifetime to struct field 2019-03-12 18:18:29 -07:00
return-without-lifetime.stderr Tweak wording 2020-04-22 12:12:33 -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::new when appropriate 2019-08-12 20:24:30 -07:00
suggest-box.rs Suggest Box::new when appropriate 2019-08-12 20:24:30 -07:00
suggest-box.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-closure-return-type-1.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-1.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-closure-return-type-2.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-2.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-closure-return-type-3.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-3.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-impl-trait-lifetime.fixed Tweak binding lifetime suggestion text 2020-02-19 18:04:03 -08:00
suggest-impl-trait-lifetime.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
suggest-impl-trait-lifetime.rs Tweak binding lifetime suggestion text 2020-02-19 18:04:03 -08:00
suggest-impl-trait-lifetime.stderr Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
suggest-labels.rs Remove licenses 2018-12-25 21:08:33 -07:00
suggest-labels.stderr resolve: disallow label use through closure/async 2020-07-02 13:48:32 +01:00
suggest-methods.rs Remove licenses 2018-12-25 21:08:33 -07:00
suggest-methods.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
suggest-move-lifetimes.rs Update ui tests 2018-12-04 10:06:05 +01:00
suggest-move-lifetimes.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
suggest-move-types.rs address some review comments 2020-03-27 09:29:38 +01:00
suggest-move-types.stderr improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
suggest-on-bare-closure-call.rs When encountetring ||{}(), suggest the likely intended (||{})() 2019-03-08 19:08:28 -08:00
suggest-on-bare-closure-call.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07: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-mut.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
suggest-ref-mut.stderr Update ui tests 2019-11-18 19:00:10 +01: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 Fix tests from rebase 2020-10-06 11:19:33 +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 Fix tests from rebase 2020-10-06 11:19:33 +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 Fix tests from rebase 2020-10-06 11:19:33 +01: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 appropriate path when calling associated item on bare types 2019-04-18 19:18:26 -07:00
suggest-std-when-using-type.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07: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 On type mismatch involving associated type, suggest constraint 2020-05-02 18:23:46 -07: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 Don't type_of on trait assoc ty without default 2020-05-12 10:56:26 -07:00
type-ascription-instead-of-let.rs Hide "type ascription is experimental error" unless it's the only one 2019-03-22 19:50:18 -07:00
type-ascription-instead-of-let.stderr Hide "type ascription is experimental error" unless it's the only one 2019-03-22 19:50:18 -07:00
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 Suggest correct cast for struct fields with shorthand syntax 2019-01-19 20:18:56 -08:00
type-mismatch-struct-field-shorthand-2.stderr Add article after "to" 2020-09-29 10:30:42 -07:00
type-mismatch-struct-field-shorthand.fixed Suggest correct cast for struct fields with shorthand syntax 2019-01-19 20:18:56 -08:00
type-mismatch-struct-field-shorthand.rs Suggest correct cast for struct fields with shorthand syntax 2019-01-19 20:18:56 -08:00
type-mismatch-struct-field-shorthand.stderr Add article after "to" 2020-09-29 10:30:42 -07: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
unused-closure-argument.rs Suggest appropriate code for unused field when desrtucturing patttern 2019-03-02 15:16:53 -08:00
unused-closure-argument.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
use-type-argument-instead-of-assoc-type.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
use-type-argument-instead-of-assoc-type.stderr Account for multiple trait bounds with missing associated types 2019-12-24 22:23:02 -08:00
vec-macro-in-pattern.fixed review comments: use structured suggestion 2019-08-09 09:40:26 -07:00
vec-macro-in-pattern.rs review comments: use structured suggestion 2019-08-09 09:40:26 -07:00
vec-macro-in-pattern.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00