| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-03 | make StringReader methods private | Aleksey Kladov | -2/+2 | |
| 2019-04-03 | make StringReader fields private | Aleksey Kladov | -6/+6 | |
| 2019-03-20 | Tweak incorrect escaped char diagnostic | Esteban Küber | -19/+19 | |
| 2019-03-16 | syntax: Introduce `Ident::can_be_raw` | Vadim Petrochenkov | -8/+4 | |
| 2019-03-13 | Rollup merge of #58876 - estebank:numeric-lifetime, r=petrochenkov | Mazdak Farrokhzad | -3/+15 | |
| Parse lifetimes that start with a number and give specific error Fix #58786. | ||||
| 2019-03-09 | review comments | Esteban Küber | -4/+4 | |
| 2019-03-08 | Parse lifetimes that start with a number and give specific error | Esteban Küber | -6/+18 | |
| 2019-03-07 | Fix with_emitter callers | Esteban Küber | -1/+1 | |
| 2019-02-16 | help suggestion when trying to delimit string literals with directed unicode ↵ | Patrick McCarter | -0/+22 | |
| quotes #58436 | ||||
| 2019-02-13 | Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper | Mazdak Farrokhzad | -3/+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-13 | Cleanup imports | Taiki Endo | -2/+2 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -2/+1 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -6/+6 | |
| 2019-02-07 | Deduplicate mismatched delimiter errors | Esteban Küber | -0/+11 | |
| Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently. | ||||
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -16/+19 | |
| 2019-01-26 | remove `_with_applicability` from suggestion fns | Andy Russell | -2/+2 | |
| 2019-01-20 | Auto merge of #56884 - euclio:codeblock-diagnostics, r=QuietMisdreavus | bors | -13/+0 | |
| rustdoc: overhaul code block lexing errors Fixes #53919. This PR moves the reporting of code block lexing errors from rendering time to an early pass, so we can use the compiler's error reporting mechanisms. This dramatically improves the diagnostics in this situation: we now de-emphasize the lexing errors as a note under a warning that has a span and suggestion instead of just emitting errors at the top level. Additionally, this PR generalizes the markdown -> source span calculation function, which should allow other rustdoc warnings to use better spans in the future. Last, the PR makes sure that the code block is always emitted in the docs, even if it fails to highlight correctly. Of note: - The new pass unfortunately adds another pass over the docs to gather the doc blocks for syntax-checking. I wonder if this could be combined with the pass that looks for testable blocks? I'm not familiar with that code, so I don't know how feasible that is. - `pulldown_cmark` doesn't make it easy to find the spans of the code blocks, so the code that calculates the spans is a little nasty. It works for all the test cases I threw at it, but I wouldn't be surprised if an edge case would break it. Should have a thorough review. - This PR worsens the state of #56885, since those certain fatal lexing errors are now emitted before docs get generated at all. | ||||
| 2019-01-20 | Revert change | Yuki Okushi | -3/+2 | |
| 2019-01-20 | [WIP] Improve error behavior | Yuki Okushi | -6/+8 | |
| 2019-01-18 | Continue cheking | Yuki Okushi | -1/+1 | |
| 2019-01-16 | Cancel process | Yuki Okushi | -1/+1 | |
| 2019-01-14 | rustdoc: check code block syntax in early pass | Andy Russell | -13/+0 | |
| 2019-01-11 | Continue evaluating after parsing incorrect binary literal | Esteban Küber | -1/+1 | |
| 2018-12-31 | Do not use unicode character in diagnostic help | Esteban Küber | -1/+1 | |
| 2018-12-31 | Use structured suggestion for braceless unicode escape squence | Esteban Küber | -6/+30 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-06 | Auto merge of #54517 - mcr431:53956-panic-on-include_bytes-of-own-file, ↵ | bors | -1/+1 | |
| r=michaelwoerister 53956 panic on include bytes of own file fix #53956 When using `include_bytes!` on a source file in the project, compiler would panic on subsequent compilations because `expand_include_bytes` would overwrite files in the source_map with no source. This PR changes `expand_include_bytes` to check source_map and use the already existing src, if any. | ||||
| 2018-12-04 | adds DocTest filename variant, refactors doctest_offset out of source_map, ↵ | Matthew Russo | -1/+1 | |
| fixes remaining test failures | ||||
| 2018-12-04 | Use iterator and pattern APIs instead of `char_at` | Shotaro Yamada | -17/+19 | |
| 2018-11-26 | Update outdated code comments in StringReader | Jason Langenauer | -3/+2 | |
| 2018-11-14 | Clean up some non-mod-rs stuff. | Eric Huss | -1/+0 | |
| 2018-11-04 | Auto merge of #54861 - rep-nop:find_main_in_doctest, r=estebank | bors | -1/+22 | |
| rustdoc: Replaces fn main search and extern crate search with proper parsing during doctests. Fixes #21299. Fixes #33731. Let me know if there's any additional changes you'd like made! | ||||
| 2018-11-01 | buffer errors from initial tokenization when parsing | QuietMisdreavus | -1/+22 | |
| 2018-10-29 | Rename other occs of (Code/File)Map to Source(Map/File) #51574 | David Lavati | -54/+54 | |
| 2018-09-29 | Add a sentence before rustc errors | Guillaume Gomez | -1/+3 | |
| 2018-09-29 | Improve error display for codeblocks in rustdoc | Guillaume Gomez | -0/+11 | |
| 2018-09-09 | Don't compute padding of braces unless they are unmatched | Esteban Küber | -3/+3 | |
| 2018-09-05 | Provide more context for unenclosed delimiters | Esteban Küber | -0/+5 | |
| * When encountering EOF, point at the last opening brace that does not have the same indentation level as its close delimiter. * When encountering the wrong type of close delimiter, point at the likely correct open delimiter to give a better idea of what went wrong. | ||||
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -3/+3 | |
| 2018-08-19 | fix tidy errors | Donato Sciarra | -6/+6 | |
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -2/+2 | |
| 2018-08-19 | mv codemap() source_map() | Donato Sciarra | -2/+2 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -2/+2 | |
| 2018-08-19 | mv filemap source_file | Donato Sciarra | -19/+19 | |
| 2018-08-19 | mv FileMap SourceFile | Donato Sciarra | -5/+5 | |
| 2018-08-19 | mv CodeMap SourceMap | Donato Sciarra | -18/+18 | |
| 2018-08-17 | Rollup merge of #53373 - estebank:unclosed, r=petrochenkov | kennytm | -0/+2 | |
| Tweak unclosed delimiter parser error | ||||
| 2018-08-15 | Do not emit "incorrect close delimiter" twice in the same place | Esteban Küber | -0/+2 | |
| 2018-08-13 | A few cleanups and minor improvements for the lexer | ljedrz | -67/+112 | |
