about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-35675.stderr
AgeCommit message (Collapse)AuthorLines
2022-11-12Move testsCaio-75/+0
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2020-05-07reword "possible candidate" import suggestionAndy Russell-2/+2
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-2/+2
Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method.
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+4
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-10-16update ui testsGuillaume Gomez-1/+1
2019-10-05Remove `for_each_child_stable`Aaron Hill-1/+1
Now that `Resolutions` has a deterministic iteration order, it's no longer necessary to sort its entries before iterating over them
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2018-12-25Remove licensesMark Rousskov-7/+7
2018-12-22adjust enum type instead of variant suggestions for prelude enumsZack M. Davis-14/+8
The present author regrets not thinking of a more eloquent way to do this.
2018-12-22enum type instead of variant suggestion unificationZack M. Davis-12/+20
Weirdly, we were deciding between a help note and a structured suggestion based on whether the import candidate span was a dummy—but we weren't using that span in any case! The dummy-ness of the span (which appears to be a matter of this-crate vs. other-crate definition) isn't the right criterion by which we should decide whether it's germane to mention that "there is an enum variant"; instead, let's use the someness of `def` (which is used as the `has_unexpected_resolution` argument to `error_code`). Since `import_candidate_to_paths` has no other callers, we are free to stop returning the span and rename the function. By using `span_suggestions_`, we leverage the max-suggestions output limit already built in to the emitter, thus resolving #56028. In the matter of message wording, "you can" is redundant (and perhaps too informal); prefer the imperative.
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+69