| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-05-01 | Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber | Matthias Krüger | -3/+3 | |
| Tweak await span to not contain dot Fixes a discrepancy between method calls and await expressions where the latter are desugared to have a span that *contains* the dot (i.e. `.await`) but method call identifiers don't contain the dot. This leads to weird suggestions suggestions in borrowck -- see linked issue. Fixes #110761 This mostly touches a bunch of tests to tighten their `await` span. | ||||
| 2023-04-27 | Tweak await span | Michael Goulet | -3/+3 | |
| 2023-04-27 | Migrate trivially translatable `rustc_parse` diagnostics | clubby789 | -158/+60 | |
| 2023-04-25 | Fix static string lints | clubby789 | -72/+29 | |
| 2023-04-17 | Rollup merge of #110404 - matthiaskrgr:mapmap, r=Nilstrieb | Matthias Krüger | -3/+3 | |
| fix clippy::toplevel_ref_arg and ::manual_map r? ``@Nilstrieb`` | ||||
| 2023-04-16 | fix clippy::toplevel_ref_arg and ::manual_map | Matthias Krüger | -3/+3 | |
| 2023-04-16 | use matches! macro in more places | Matthias Krüger | -14/+10 | |
| 2023-04-15 | remove redundant clones | Matthias Krüger | -5/+3 | |
| 2023-04-12 | Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk | Matthias Krüger | -9/+16 | |
| Remove `..` from return type notation `@nikomatsakis` and I decided that using `..` in the return-type notation syntax is probably overkill. r? `@eholk` since you reviewed the last one Since this is piggybacking now totally off of a pre-existing syntax (parenthesized generics), let me know if you need any explanation of the logic here, since it's a bit more complicated now. | ||||
| 2023-04-10 | Remove `..` from return type notation | Michael Goulet | -9/+16 | |
| 2023-04-10 | Fix typos in compiler | DaniPopes | -1/+1 | |
| 2023-04-09 | Fix some clippy::complexity | Nilstrieb | -1/+1 | |
| 2023-04-07 | fix: fix regression in #109203 | Ezra Shaw | -2/+2 | |
| 2023-04-05 | Auto merge of #109117 - oli-obk:locks, r=michaelwoerister | bors | -2/+5 | |
| Avoid a few locks We can use atomics or datastructures tuned for specific access patterns instead of locks. This may be an improvement for parallel rustc, but it's mostly a cleanup making various datastructures only usable in the way they are used right now (append data, never mutate), instead of having a general purpose lock. | ||||
| 2023-04-04 | Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem` | Oli Scherer | -3/+3 | |
| 2023-04-04 | box a bunch of large types | Oli Scherer | -6/+6 | |
| 2023-04-04 | Split out ast::ItemKind::Const into its own struct | Oli Scherer | -5/+9 | |
| 2023-04-04 | rust-analyzer guided tuple field to named field | Oli Scherer | -2/+2 | |
| 2023-04-04 | rust-analyzer guided enum variant structification | Oli Scherer | -2/+3 | |
| 2023-04-04 | Use a simpler atomic operation than the `compare_exchange` hammer | Oli Scherer | -3/+1 | |
| 2023-04-04 | Replace a lock with an atomic | Oli Scherer | -2/+7 | |
| 2023-03-28 | Add `(..)` syntax for RTN | Michael Goulet | -8/+31 | |
| 2023-03-28 | RTN | Michael Goulet | -1/+5 | |
| 2023-03-27 | Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors | Guillaume Gomez | -1/+1 | |
| Remove the `NodeId` of `ast::ExprKind::Async` This is a followup to https://github.com/rust-lang/rust/pull/104833#pullrequestreview-1314537416. In my original attempt, I was using `LoweringContext::expr`, which was not correct as it creates a fresh `DefId`. It now uses the correct `DefId` for the wrapping `Expr`, and also makes forwarding `#[track_caller]` attributes more explicit. | ||||
| 2023-03-22 | Rollup merge of #109203 - Ezrashaw:refactor-ident-parsing, r=Nilstrieb | Matthias Krüger | -60/+121 | |
| refactor/feat: refactor identifier parsing a bit \+ error recovery for `expected_ident_found` Prior art: #108854 | ||||
| 2023-03-21 | Refactor `handle_missing_lit`. | Nicholas Nethercote | -14/+8 | |
| 2023-03-20 | feat: implement error recovery in `expected_ident_found` | Ezra Shaw | -36/+79 | |
| 2023-03-19 | Remove the `NodeId` of `ast::ExprKind::Async` | Arpad Borsos | -1/+1 | |
| 2023-03-19 | refactor: improve "ident starts with number" error | Ezra Shaw | -15/+25 | |
| 2023-03-19 | refactor: refactor identifier parsing somewhat | Ezra Shaw | -19/+27 | |
| 2023-03-13 | Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31 | bors | -3/+21 | |
| Remove `box_syntax` r? `@Nilstrieb` This removes the feature `box_syntax`, which allows the use of `box <expr>` to create a Box, and finalises removing use of the feature from the compiler. `box_patterns` (allowing the use of `box <pat>` in a pattern) is unaffected. It also removes `ast::ExprKind::Box` - the only way to create a 'box' expression now is with the rustc-internal `#[rustc_box]` attribute. As a temporary measure to help users move away, `box <expr>` now parses the inner expression, and emits a `MachineApplicable` lint to replace it with `Box::new` Closes #49733 | ||||
| 2023-03-12 | Add recovery for use of removed `box` syntax | clubby789 | -0/+28 | |
| 2023-03-12 | Remove `box_syntax` from AST and use in tools | clubby789 | -10/+0 | |
| 2023-03-11 | Gate const closures even when they appear in macros | Michael Goulet | -4/+8 | |
| 2023-03-11 | Gate all usages of dyn*, even in macros | Michael Goulet | -0/+2 | |
| 2023-03-09 | feat/refactor: improve errors in case of ident with number at start | Ezra Shaw | -26/+31 | |
| 2023-03-04 | Rollup merge of #108715 - chenyukang:yukang/cleanup-parser-delims, ↵ | Matthias Krüger | -158/+12 | |
| r=compiler-errors Remove unclosed_delims from parser After landing https://github.com/rust-lang/rust/pull/108297 we could remove `unclosed_delims` from the parser now. | ||||
| 2023-03-04 | Rollup merge of #108298 - TaKO8Ki:fix-104440, r=cjgillot | Dylan DPC | -2/+7 | |
| Fix ICE: check if snippet is `)` Fixes #107705 | ||||
| 2023-03-03 | Remove unclosed_delims from parser | yukang | -158/+12 | |
| 2023-03-03 | Match unmatched backticks in comments in compiler/ | est31 | -3/+3 | |
| 2023-03-03 | check if snippet is `)` | Takayuki Maeda | -2/+7 | |
| 2023-03-01 | recover from for-else and while-else | y21 | -0/+22 | |
| 2023-03-01 | Auto merge of #108587 - matthiaskrgr:rollup-rw6po59, r=matthiaskrgr | bors | -2/+26 | |
| Rollup of 10 pull requests Successful merges: - #108376 (compiler/rustc_session: fix sysroot detection logic) - #108400 (add llvm cgu instructions stats to perf) - #108496 (fix #108495, postfix decrement and prefix decrement has no warning) - #108505 (Further unify validity intrinsics) - #108520 (Small cleanup to `one_bound_for_assoc_type`) - #108560 (Some `infer/mod.rs` cleanups) - #108563 (Make mailmap more correct) - #108564 (Fix `x clean` with specific paths) - #108571 (Add contains_key to SortedIndexMultiMap) - #108578 (Update Fuchsia platform team members) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-03-01 | Rollup merge of #108496 - nx2k3:issue-108495-dec, r=WaffleLapkin | Matthias Krüger | -2/+26 | |
| fix #108495, postfix decrement and prefix decrement has no warning Fixes #108495 | ||||
| 2023-03-01 | Rollup merge of #108297 - chenyukang:yukang/delim-error-exit, r=petrochenkov | Matthias Krüger | -8/+8 | |
| Exit when there are unmatched delims to avoid noisy diagnostics From https://github.com/rust-lang/rust/pull/104012#issuecomment-1311764832 r? ``@petrochenkov`` | ||||
| 2023-02-28 | micro fmt changes | Maybe Waffle | -1/+2 | |
| 2023-02-28 | refactor parse_token_trees to not return unmatched_delims | yukang | -2/+2 | |
| 2023-02-28 | rename unmatched_braces to unmatched_delims | yukang | -9/+9 | |
| 2023-02-27 | handle only postfix decrement | nx2k3 | -34/+4 | |
| 2023-02-27 | check double negation | nx2k3 | -3/+10 | |
