about summary refs log tree commit diff
path: root/src/test/ui/borrowck/issue-64453.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-29/+0
2022-08-14suggest lazy-static for non-const staticscameron-0/+1
2022-07-19Mention first and last macro in backtraceMichael Goulet-1/+1
2022-02-12bless youDeadbeef-1/+2
2021-09-01Stop sorting bodies by span.Camille GILLOT-6/+6
The definition order is already close to the span order, and only differs in corner cases.
2021-07-28Add new const_format_args!() macro and use it in panics.Mara Bos-2/+11
2021-07-28Update test output for const fmt::Arguments constructor.Mara Bos-10/+2
2021-05-12Show macro name in 'this error originates in macro' messageAaron Hill-2/+2
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
2020-09-02pretty: trim paths of unique symbolsDan Aloni-1/+1
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-06-28Update testsDylan MacKenzie-5/+18
2020-02-09--bless --compare-mode=nllMatthias Prechtl-1/+1
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-1/+1
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-1/+1
2019-11-21Reorganize, bless and add tests for const control flowDylan MacKenzie-2/+4
This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature.
2019-11-13Bless const tests with improved diagnosticsDylan MacKenzie-26/+3
2019-10-01regression test for 64453 borrow check error.Felix S. Klock II-0/+34