about summary refs log tree commit diff
path: root/src/test/ui/macro_backtrace
AgeCommit message (Collapse)AuthorLines
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