about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Collapse)AuthorLines
2020-12-18Switch compiler/ to intra-doc linksJoshua Nelson-2/+0
rustc_lint and rustc_lint_defs weren't switched because they're included in the compiler book and so can't use intra-doc links.
2020-12-16Fix typo in method nameCamelid-2/+2
unsuccessfull -> unsuccessful
2020-12-16Add more documentation to `Diagnostic` and `DiagnosticBuilder`Camelid-11/+50
2020-11-17Rollup merge of #74293 - GuillaumeGomez:rustdoc-test-compiler-output-color, ↵Mara Bos-0/+17
r=jyn514 Rustdoc test compiler output color Fixes #72915 We just need to be sure it doesn't break rustdoc doctests' compilation checks. Maybe some other unforeseen consequences too? r? `@ehuss` cc `@rust-lang/rustdoc`
2020-11-17Simplfy color availability checkGuillaume Gomez-0/+17
2020-11-16clarify `span_label` documentationAndy Russell-8/+10
2020-11-03Auto merge of #76931 - oli-obk:const_prop_inline_lint_madness, r=wesleywiserbors-2/+5
Properly handle lint spans after MIR inlining The first commit shows what happens when we apply mir inlining and then cause lints on the inlined MIR. The second commit fixes that. r? `@wesleywiser`
2020-10-30Some workAaron Hill-2/+8
2020-10-30Implement rustc side of report-future-incompatAaron Hill-39/+136
2020-10-30Fix even more clippy warningsJoshua Nelson-16/+4
2020-10-29Fix typosDániel Buga-2/+2
2020-10-27Address review commentoli-1/+2
2020-10-27Show the inline stack of MIR lints that only occur after inliningOliver Scherer-2/+4
2020-10-14Remove unused code from remaining compiler cratesest31-15/+0
2020-09-23/nightly/nightly-rustcErik Hofmayer-1/+1
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