about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
2022-10-01Replace some `bool` params with an enumMaybe Waffle-0/+6
2022-09-16more simple formattingRageking8-34/+34
2022-09-12Rollup merge of #100767 - kadiwa4:escape_ascii, r=jackh726Dylan DPC-6/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-25Handle `Err` in `ast::LitKind::to_token_lit`.Nicholas Nethercote-1/+3
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-2/+2
2022-08-19use <[u8]>::escape_ascii instead of core::ascii::escape_defaultKaDiWa-6/+1
2022-08-16Rename some things related to literals.Nicholas Nethercote-9/+9
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-2/+2
2022-08-01Shrink `Token`.Nicholas Nethercote-4/+6
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+3
2022-04-19rustc_metadata: Store a flag telling whether an item may have doc links in it...Vadim Petrochenkov-0/+8
2022-04-08Fix invalid array access in `beautify_doc_string`Guillaume Gomez-1/+4
2022-03-09Implement macro meta-variable expressionsCaio-1/+1
2022-02-262 - Make more use of let_chainsCaio-4/+4
2022-02-24Inline a hot closure in `from_lit_token`.Nicholas Nethercote-17/+22
2022-02-07Add test for block doc comments horizontal trimGuillaume Gomez-14/+6
2022-02-07Fix horizontal trim for block doc commentsGuillaume Gomez-6/+38
2022-01-19Correctly handle starts in block doc commentsGuillaume Gomez-11/+32
2021-12-28Fix invalid removal of backlines from doc commentsGuillaume Gomez-7/+0
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-09Remove redundant [..]sest31-1/+1
2021-11-10Rollup merge of #90742 - est31:add_assign, r=davidtwcoMatthias Krüger-1/+1
2021-11-09Use AddAssign implest31-1/+1
2021-11-08Rollup merge of #90657 - GuillaumeGomez:one-char-last-line-removed, r=jyn514Guillaume Gomez-1/+1
2021-11-06Rollup merge of #90642 - matthiaskrgr:clippy_matches, r=cjgillotMatthias Krüger-4/+4
2021-11-06Fix last doc code comment being removed if it only had one characterGuillaume Gomez-1/+1
2021-11-06use matches!() macro in more placesMatthias Krüger-4/+4
2021-11-05Use one match instead of a staggered match.Hans Kratz-11/+2
2021-11-04Optimize literal, doc comment lint as well, extract function.Hans Kratz-0/+44
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-2/+2
2021-08-30Handle let-else initializer edge case errorsCameron Steffen-0/+27
2021-07-30Add warning when whitespace is not skipped after an escaped newline.Anton Golov-4/+20
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-5/+5
2021-01-16Remove unnecessary manual shrink_to_fit callsDániel Buga-3/+0
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-5/+4
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-13/+11
2020-12-24use matches!() macro in more placesMatthias Krüger-13/+11
2020-12-22Rework beautify_doc_string so that it returns a Symbol instead of a StringGuillaume Gomez-35/+37
2020-11-24Move lev_distance to rustc_ast, make non-genericArlie Davis-168/+0
2020-10-18Auto merge of #78066 - bugadani:wat, r=jonas-schievinkbors-1/+1
2020-10-18No need to map the max_distanceDániel Buga-1/+1
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+2
2020-10-14Remove unused code from rustc_astest31-1/+0
2020-10-04Remove extra indirection in LitKind::ByteStrRobin Schoonover-3/+2
2020-09-10use sort_unstable to sort primitive typesMatthias Krüger-1/+2
2020-08-30mv compiler to compiler/mark-0/+1180