about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Collapse)AuthorLines
2020-09-23Updated html_root_url for compiler cratesErik Hofmayer-1/+1
2020-09-21Rollup merge of #76846 - botika:master, r=davidtwcoRalf Jung-21/+13
Avoiding unnecesary allocations at rustc_errors Simplify the code avoiding allocations with easy alternative
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-5/+3
2020-09-18Simplify panic_if_treat_err_as_bug avoiding allocationsJuan Aguilar Santillana-7/+5
2020-09-17Remove redundant to_stringJuan Aguilar Santillana-14/+8
2020-09-11replacing sub's that can wrap by saturating_sub'sAurélien Deharbe-3/+3
2020-09-02rustc_{errors,session}: add `delay_good_path_bug`Dan Aloni-7/+48
The first use case of this detection of regression for trimmed paths computation, that is in the case of rustc, which should be computed only in case of errors or warnings. Our current user of this method is deeply nested, being a side effect from `Display` formatting on lots of rustc types. So taking only the caller to the error message is not enough - we should collect the traceback instead.
2020-08-30mv compiler to compiler/mark-0/+5529