about summary refs log tree commit diff
path: root/src/librustc_parse/lexer
AgeCommit message (Expand)AuthorLines
2020-08-30mv compiler to compiler/mark-1526/+0
2020-08-30Rollup merge of #76057 - matklad:remove-retokenize, r=petrochenkovDylan DPC-28/+2
2020-08-29Move retokenize hack to save_analysisAleksey Kladov-28/+2
2020-08-21Auto merge of #75642 - matklad:lexer-comments, r=petrochenkovbors-41/+55
2020-08-20Rename rustc_lexer::TokenKind::Not to BangAleksey Kladov-1/+1
2020-08-19Simplify search for bare `\r` in doc commentsAleksey Kladov-14/+11
2020-08-19Move doc comment parsing to rustc_lexerAleksey Kladov-41/+58
2020-08-15replaced log with tracingGurpreet Singh-2/+2
2020-08-06Add some comments for magic numbers + Add testsVadim Petrochenkov-0/+3
2020-08-06rustc_ast: Stop using "string typing" for doc comment tokensVadim Petrochenkov-10/+11
2020-07-04Create new E0768 error code for "no valid digits found for number" errorGuillaume Gomez-1/+8
2020-06-25Add E0766 error for unterminated double quote byte stringGuillaume Gomez-6/+9
2020-06-21Create E0765 error for unterminated double quote stringsGuillaume Gomez-2/+9
2020-06-16Create new E0763 error code for unterminated byte constantGuillaume Gomez-2/+9
2020-06-11Rollup merge of #73172 - matthiaskrgr:cl9ppy, r=Dylan-DPCDylan DPC-1/+1
2020-06-10Create new error code E0762 for unterminated char literalsGuillaume Gomez-1/+9
2020-06-09Fix more clippy warningsMatthias Krüger-1/+1
2020-06-07Create new error code E0758 for unterminated multi-line commentsGuillaume Gomez-1/+9
2020-06-01Cleanup: Inline `struct_span_fatal()`, which is only called once, and remove ...Julian Wollersberger-24/+5
2020-06-01Simplify raw string error reporting.Julian Wollersberger-27/+24
2020-05-16Rollup merge of #72047 - Julian-Wollersberger:literal_error_reporting_cleanup...Ralf Jung-122/+30
2020-05-14cleanup stale FIXME(#64197)sergey-melnychuk-2/+5
2020-05-13Unified `validate_{byte,str,raw_str,raw_byte_str}_escape` methods into one me...Julian Wollersberger-122/+30
2020-05-03Implement `confusable_idents` lint.Charles Lew-1/+2
2020-04-23Rollup merge of #70633 - kper:master, r=estebankDylan DPC-6/+35
2020-04-04Run fmtKevin Per-31/+16
2020-04-04Drop `this` in error message to not reach 100 charactersKevin Per-1/+1
2020-04-04Show open and closed braces of last proper blockKevin Per-9/+39
2020-04-03Fixing testsKevin Per-1/+0
2020-04-02Check if the suggestion's `this block is empty...` span is in the last proper...Kevin Per-4/+19
2020-04-01Rollup merge of #70522 - rcoh:60762-raw-string-errors, r=petrochenkovMazdak Farrokhzad-34/+59
2020-04-01Revert "Dropping "block is empty..." error message on incorrect closing delim...Kevin Per-3/+7
2020-03-31Dropping "block is empty..." error message on incorrect closing delimiter #70583Kevin Per-7/+3
2020-03-30remove obsolete commentTshepang Lekhonkhobe-3/+0
2020-03-29Cleanup error messages, improve docstringsRussell Cohen-5/+4
2020-03-29Improve error messages for raw strings (#60762)Russell Cohen-34/+60
2020-03-22Rollup merge of #70254 - matthiaskrgr:cl4ppy, r=CentrilDylan DPC-8/+4
2020-03-22don't create variable bindings just to return the bound value immediately (cl...Matthias Krüger-8/+4
2020-03-20parse/lexer: support `StringReader::retokenize` called on external files.Eduard-Mihai Burtescu-4/+12
2020-03-04On mismatched delimiters, only point at empty blocks that are in the same lineEsteban Küber-1/+6
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-8/+8
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29Auto merge of #69260 - GuillaumeGomez:create-E0747-error-code, r=varkor,estebankbors-2/+6
2020-02-28Add E0747 error codeGuillaume Gomez-2/+6
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-28Rollup merge of #69529 - matthiaskrgr:clippy_identity_conversion, r=Mark-Simu...Dylan DPC-11/+6
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-11/+6
2020-02-27use find(x) instead of filter(x).next()Matthias Krüger-5/+2
2020-02-11Invert control in struct_lint_level.jumbatm-1/+1
2020-02-09Make issue references consistentMatthias Prechtl-2/+3