| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-13 | Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper | Mazdak Farrokhzad | -2/+2 | |
| Rename rustc_errors dependency in rust 2018 crates I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules. Related: rust-lang/cargo#5653 cc #58099 r? @Centril | ||||
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -3/+3 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -2/+2 | |
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -1/+1 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -3/+3 | |
| 2019-02-04 | libsyntax_ext => 2018 | Taiki Endo | -16/+17 | |
| 2019-01-26 | remove `_with_applicability` from suggestion fns | Andy Russell | -2/+2 | |
| 2019-01-22 | Rollup merge of #57537 - sinkuu:fmt_perf, r=alexcrichton | Mazdak Farrokhzad | -1/+4 | |
| Small perf improvement for fmt Added benchmark is based on #10761 | ||||
| 2019-01-12 | Fix simple formatting optimization | Shotaro Yamada | -1/+4 | |
| name old2 ns/iter new2 ns/iter diff ns/iter diff % speedup fmt::write_str_macro1 12,295 12,308 13 0.11% x 1.00 fmt::write_str_macro2 24,079 21,451 -2,628 -10.91% x 1.12 fmt::write_str_macro_debug 238,363 230,807 -7,556 -3.17% x 1.03 fmt::write_str_ref 6,203 6,064 -139 -2.24% x 1.02 fmt::write_str_value 6,225 6,075 -150 -2.41% x 1.02 fmt::write_vec_macro1 17,144 17,121 -23 -0.13% x 1.00 fmt::write_vec_macro2 29,845 26,703 -3,142 -10.53% x 1.12 fmt::write_vec_macro_debug 248,840 242,117 -6,723 -2.70% x 1.03 fmt::write_vec_ref 5,954 6,438 484 8.13% x 0.92 fmt::write_vec_value 5,959 6,439 480 8.06% x 0.93 | ||||
| 2019-01-11 | don't unwrap unexpected tokens in `format!` | Andy Russell | -1/+1 | |
| Fixes #57512. | ||||
| 2019-01-02 | make `panictry!` private to libsyntax | Andy Russell | -21/+27 | |
| This commit completely removes usage of the `panictry!` macro from outside libsyntax. The macro causes parse errors to be fatal, so using it in libsyntax_ext caused parse failures *within* a syntax extension to be fatal, which is probably not intended. Furthermore, this commit adds spans to diagnostics emitted by empty extensions if they were missing, à la #56491. | ||||
| 2018-12-31 | Use structured suggestion for braceless unicode escape squence | Esteban Küber | -2/+2 | |
| 2018-12-31 | Account for `\xFF` and `\u{FF}` sequences in string format errors | Esteban Küber | -0/+45 | |
| 2018-12-30 | Improve error recovery for some built-in macros | Vadim Petrochenkov | -12/+14 | |
| 2018-12-29 | Auto merge of #57140 - estebank:str-err, r=varkor | bors | -2/+9 | |
| Tweaks to format string diagnostics Add label spans and fix incorrect spans. Fix #55155, fix #55350. | ||||
| 2018-12-27 | Make sure feature gate errors are recoverable | Vadim Petrochenkov | -1/+0 | |
| 2018-12-27 | Fix `trace_macros` and `log_syntax` | Vadim Petrochenkov | -3/+3 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -2/+2 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-26 | Add span label to unused string formatting argument | Esteban Küber | -1/+6 | |
| Fix #55350. | ||||
| 2018-12-26 | Point at correct span for arguments in format strings | Esteban Küber | -1/+3 | |
| When a format string has escaped whitespace characters format arguments were shifted by one per each escaped character. Account for these escaped characters when synthesizing the spans. Fix #55155. | ||||
| 2018-12-26 | Various changes to string format diagnostics | Esteban Küber | -8/+69 | |
| - Point at opening mismatched formatting brace - Account for differences between raw and regular strings - Account for differences between the code snippet and `InternedString` - Add more tests | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-14 | format: minor stylistic improvements | ljedrz | -12/+6 | |
| 2018-12-14 | format: refactor verify_arg_type | ljedrz | -22/+16 | |
| 2018-12-14 | format: refactor report_invalid_references | ljedrz | -25/+21 | |
| 2018-12-14 | format: remove unreachable condition | ljedrz | -22/+9 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-09-17 | Whitespace fix again. | Vitaly _Vi Shukela | -3/+3 | |
| 2018-09-17 | Fill in suggestions Applicability according to @estebank | Vitaly _Vi Shukela | -3/+3 | |
| Also fix some formatting along the way. | ||||
| 2018-09-16 | Attach Applicability to multipart_suggestion and span_suggestions | Vitaly _Vi Shukela | -1/+2 | |
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -8/+8 | |
| 2018-08-22 | Rollup merge of #53504 - ekse:suggestions-applicability-2, r=estebank | Guillaume Gomez | -1/+3 | |
| Set applicability for more suggestions. Converts a couple more calls to `span_suggestion_with_applicability` (#50723). To be on the safe side, I marked suggestions that depend on the intent of the user or that are potentially lossy conversions as MaybeIncorrect. r? @estebank | ||||
| 2018-08-21 | Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor | kennytm | -1/+1 | |
| Fix typos found by codespell. | ||||
| 2018-08-20 | Set applicability for more suggestions. | Sébastien Duquette | -1/+3 | |
| 2018-08-19 | mv codemap() source_map() | Donato Sciarra | -1/+1 | |
| 2018-08-19 | Fix typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-08-09 | Use Cow<str> in describe_num_args | ljedrz | -6/+8 | |
| 2018-08-09 | Refactor expand_preparsed_format_args | ljedrz | -55/+62 | |
| 2018-08-06 | Point at correct span when missing comma in `println` | Esteban Küber | -1/+1 | |
| 2018-07-29 | Replace push loops with collect() and extend() where possible | ljedrz | -8/+7 | |
| 2018-07-24 | Add span label for format str missing specifier | Esteban Küber | -8/+11 | |
| 2018-07-24 | Use suggestions for `printf` format | Esteban Küber | -1/+16 | |
| 2018-07-24 | Reword missing formatting arguments label | Esteban Küber | -1/+1 | |
| 2018-07-23 | Only point at inside of string literals if they're actually string literals | Esteban Küber | -6/+24 | |
| 2018-07-23 | Point only at invalid positional arguments | Esteban Küber | -62/+76 | |
| 2018-07-23 | Point at incorrect named arg in format string | Esteban Küber | -2/+19 | |
| 2018-07-22 | Point at internal span in format string | Esteban Küber | -12/+22 | |
| 2018-07-21 | fix logic bug | Esteban Küber | -2/+2 | |
| 2018-07-21 | Remove dependency on `libsyntax` | Esteban Küber | -1/+5 | |
| 2018-07-21 | Gate `format_args_nll` behind feature flag | Esteban Küber | -0/+15 | |
