about summary refs log tree commit diff
path: root/src/test/ui/macro_backtrace
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-160/+0
2022-07-19Mention first and last macro in backtraceMichael Goulet-2/+2
2022-07-01Shorten def_span for more items.Camille GILLOT-49/+39
2021-10-15Bless testsCameron Steffen-11/+11
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-2/+2
2021-05-12Show macro name in 'this error originates in macro' messageAaron Hill-3/+3
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
2020-08-05Show backtrace numbers in backtrace whenever more than one is involvedAaron Hill-4/+4
Previously, we only displayed 'frame' numbers in a macro backtrace when more than two frames were involved. This commit should help make backtrace more readable, since these kinds of messages can quickly get confusing.
2020-03-10--bless some testsMazdak Farrokhzad-50/+54
2020-02-06tests: add a revision to macro_backtrace without -Zmacro-backtrace.Eduard-Mihai Burtescu-4/+40
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-1/+1
2019-11-06Remove "here" from "expected one of X here"Esteban Küber-3/+3
2019-07-15pprust: Fix formatting regressions from the previous commitsVadim Petrochenkov-20/+20
Fix some remaining cases of bad formatting Update some failing tests
2019-07-15pprust: Use `print_mac_common` for delimited token groupsVadim Petrochenkov-20/+20
2019-04-22Remove double trailing newlinesvarkor-1/+0
2018-12-27Fix rebase and more CI failuresVadim Petrochenkov-0/+1
2018-12-27Do not abort compilation if expansion produces errorsVadim Petrochenkov-0/+2
Fix a number of uncovered deficiencies in diagnostics
2018-12-25Remove licensesMark Rousskov-23/+3
2018-09-19Use full name to identify a macro in a `FileName`.Diogo Sousa-5/+5
Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097.
2018-02-26Update UI testsVadim Petrochenkov-17/+17
2018-01-26Fix test in macro_backtracevarkor-5/+5
2017-12-13Move error checks out of span for easier to follow `.stderr`Esteban Küber-15/+6
2017-12-09Use spans for -Z external-macro-backtraceEsteban Küber-9/+103
``` % rustc ui/type-check/cannot_infer_local_or_vec.rs -Z external-macro-backtrace error[E0282]: type annotations needed --> <vec macros>:3:1 | 1 | / ( $ elem : expr ; $ n : expr ) => ( 2 | | $ crate :: vec :: from_elem ( $ elem , $ n ) ) ; ( $ ( $ x : expr ) , * ) => ( 3 | | < [ _ ] > :: into_vec ( box [ $ ( $ x ) , * ] ) ) ; ( $ ( $ x : expr , ) * ) | | ^^^^^^^^^^^^^^^^^^^^^ | | | | | cannot infer type for `T` 4 | | => ( vec ! [ $ ( $ x ) , * ] ) | |______________________________- in this expansion of `vec!` | ::: ui/type-check/cannot_infer_local_or_vec.rs | 12 | let x = vec![]; | - ------ in this macro invocation | | | consider giving `x` a type error: aborting due to previous error ```
2017-11-29Point to next token when it is in the expected lineEsteban Küber-6/+2
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-5/+6
2017-11-20address review commentsAlex Burka-1/+1
2017-11-19use -Z flag instead of env varAlex Burka-1/+1
2017-11-19add UI testAlex Burka-0/+66