about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-55796.stderr
AgeCommit message (Collapse)AuthorLines
2022-06-13Move testsCaio-20/+0
2022-06-03Fully stabilize NLLJack Huey-0/+20
2022-05-22Use revisions for NLL in issuesJack Huey-53/+0
2022-02-12Update chalk testsMatthew Jasper-10/+10
2021-10-13Remove textual span from diagnostic stringOli Scherer-2/+2
2021-09-16Propagate coercion cause into `try_coerce`Aaron Hill-2/+2
Currently, `coerce_inner` discards its `ObligationCause` when calling `try_coerce`. This interfers with other diagnostc improvements I'm working on, since we will lose the original span by the time the actual coercion occurs. Additionally, we now use the span of the trailing expression (rather than the span of the entire function) when performing a coercion in `check_return_expr`. This currently has no visible effect on any of the unit tests, but will unblock future diagnostic improvements.
2020-10-06Update to chalk 0.31. Implement some unimplemented. Ignore some tests in ↵Jack Huey-12/+12
compare mode chalk don't finish.
2020-09-02pretty: trim paths of unique symbolsDan Aloni-6/+6
If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not.
2020-05-27Fix spacing of expected/found notes without a labelEsteban Küber-4/+4
2019-12-03Include a span in more `expected...found` notesAaron Hill-6/+14
In most places, we use a span when emitting `expected...found` errors. However, there were a couple of places where we didn't use any span, resulting in hard-to-interpret error messages. This commit attaches the relevant span to these notes, and additionally switches over to using `note_expected_found` instead of manually formatting the message
2019-10-11Print lifetimes with backticksYuki Okushi-2/+2
2019-10-07update ui testsGuillaume Gomez-0/+1
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+0
2019-03-15rustc: print ExistentialProjection with spaces around `=`, e.g. `dyn Foo<A = ↵Eduard-Mihai Burtescu-4/+4
X>`.
2018-12-27Do not abort compilation if expansion produces errorsVadim Petrochenkov-7/+2
Fix a number of uncovered deficiencies in diagnostics
2018-12-04Update testsOliver Scherer-3/+3
2018-11-08Sidestep ICE in `type_of_def_id()` when called from `return_type_impl_trait`Esteban Küber-0/+50