rust/src/test/ui/suggestions
Tyler Mandry 5ea55518bc
Rollup merge of #75984 - kornelski:typeormodule, r=matthewjasper
Improve unresolved use error message

"use of undeclared type or module `foo`" doesn't mention that it could be a crate.

This error can happen when users forget to add a dependency to `Cargo.toml`, so I think it's important to mention that it could be a missing crate.

I've used a heuristic based on Rust's naming conventions. It complains about an unknown type if the ident starts with an upper-case letter, and crate or module otherwise. It seems to work very well. The expanded error help covers both an unknown type and a missing crate case.
2020-09-09 15:05:45 -07: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 Use smaller def span for functions 2020-08-22 18:41:49 -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
as-ref.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
assoc-const-as-field.rs
assoc-const-as-field.stderr
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 assoc type on type not found in trait method definition 2019-07-13 21:17:38 -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
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
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 Recover parser from foo(_, _) 2019-08-09 07:18:05 -07:00
fn-or-tuple-struct-with-underscore-args.stderr Recover parser from foo(_, _) 2019-08-09 07:18:05 -07: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
format-borrow.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
if-let-typo.rs Suggest if let x = y when encountering if x = y 2020-08-30 15:01:06 -07:00
if-let-typo.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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
impl-trait-return-trailing-semicolon.stderr
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
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
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
issue-59819.rs
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 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
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 Fix rebase 2019-10-22 13:24:30 -07:00
missing-assoc-type-bound-restriction.stderr Increase verbosity of bound restriction suggestions 2020-05-12 11:19:07 -07: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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
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 add tests for structured suggestion 2020-02-02 11:53:10 -08: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 Use more appropriate spans on object unsafe traits and provide structured suggestions when possible 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-where-sized.fixed add tests for structured suggestion 2020-02-02 11:53:10 -08: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 add tests for structured suggestion 2020-02-02 11:53:10 -08:00
opaque-type-error.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
opaque-type-error.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
path-display.rs
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-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 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
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
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
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
suggest-move-types.rs address some review comments 2020-03-27 09:29:38 +01:00
suggest-move-types.stderr Squashed all commits 2020-06-20 13:00:16 +05:30
suggest-on-bare-closure-call.rs
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
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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 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
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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
type-mismatch-struct-field-shorthand.fixed
type-mismatch-struct-field-shorthand.rs
type-mismatch-struct-field-shorthand.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08: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
unused-closure-argument.stderr Reword unused variable warning 2020-03-23 12:14:45 +03:00
use-type-argument-instead-of-assoc-type.rs
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