| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-08-26 | Disable tree traversal optimization that is wrong due to lazy nodes. | Johannes Hostert | -5/+5 | |
| See #3846 for more information. | ||||
| 2024-08-26 | Update src/tools/rustbook/Cargo.lock | Eric Huss | -0/+1 | |
| 2024-08-26 | Fix "Unwrap block" assist with block modifiers | Chayim Refael Friedman | -3/+55 | |
| The assist just assumes the `{` will be the first character, which led to strange outputs such as `nsafe {`. | ||||
| 2024-08-26 | interpret: do not make const-eval query result depend on tcx.sess | Ralf Jung | -6/+40 | |
| 2024-08-26 | const-eval: do not make UbChecks behavior depend on current crate's flags | Ralf Jung | -0/+4 | |
| 2024-08-26 | tidy: skip revision llvm-components check for run-make tests | 许杰友 Jieyou Xu (Joe) | -2/+8 | |
| Since run-make tests do not support revisions. | ||||
| 2024-08-26 | Auto merge of #17963 - avrong:avrong/error-lifetimes, r=Veykril | bors | -33/+17 | |
| Always show error lifetime arguments as `'_` Fixes #17947 Changed error lifetime argument presentation in non-test environment to `'_` and now showing them even if all of args are error lifetimes. This also influenced some of the other tests like `extract_function.rs`, `predicate.rs` and `type_pos.rs`. Not sure whether I need to refrain from adding lifetimes args there. Happy to fix if needed | ||||
| 2024-08-26 | Add a run-make test for checking that certain `rustc_` crates build on stable | Jakub Beránek | -3/+16 | |
| 2024-08-26 | Show lifetime args if there are only error ones | Aleksei Trifonov | -12/+2 | |
| 2024-08-26 | Show and render error lifetime args as `'_` | Aleksei Trifonov | -21/+15 | |
| 2024-08-26 | Auto merge of #17941 - ChayimFriedman2:pre-closure-to-fn, r=Veykril | bors | -166/+815 | |
| Preliminary work for #17940 I split the PR as requested, and made small commits. | ||||
| 2024-08-26 | silence an overreaching clippy lint | Ralf Jung | -0/+1 | |
| 2024-08-26 | Merge from rustc | The Miri Cronjob Bot | -3038/+3128 | |
| 2024-08-26 | Preparing for merge from rustc | The Miri Cronjob Bot | -1/+1 | |
| 2024-08-26 | Fix Return Type Syntax to include `..` (i.e. `method(..)` and not ↵ | Chayim Refael Friedman | -16/+183 | |
| `method()`) as specified in the RFC | ||||
| 2024-08-25 | strip whitespace for ignored tests reason comments | Rémy Rakic | -1/+1 | |
| 2024-08-25 | compiletest: implement `needs-lvm-zstd` directive | Rémy Rakic | -1/+111 | |
| 2024-08-25 | Auto merge of #129531 - Jarcho:clippyup, r=Manishearth | bors | -2961/+3044 | |
| Clippy subtree update r? `@Manishearth` | ||||
| 2024-08-25 | Auto merge of #17960 - duncanawoods:master, r=HKalbasi | bors | -0/+8 | |
| fix: add extra_test_bin_args to test explorer test runner `@HKalbasi` I thought I included this in #17470 but it appears not so I have created a new issue #17959 for this fix. | ||||
| 2024-08-25 | Auto merge of #17961 - Veykril:autoderef-alloc, r=Veykril | bors | -26/+60 | |
| internal: Don't allocate autoderef steps when not needed | ||||
| 2024-08-25 | internal: Don't allocate autoderef steps when not needed | Lukas Wirth | -26/+60 | |
| 2024-08-25 | fix: add extra_test_bin_args to test explorer test runner | duncan | -0/+8 | |
| trim whitespace | ||||
| 2024-08-25 | Add test for triggering notification after timeout | tiif | -1/+40 | |
| 2024-08-25 | Auto merge of #17958 - Veykril:deref-chain-method-completions, r=Veykril | bors | -33/+90 | |
| fix: Fix trait method completions not acknowledging Deref impls | ||||
| 2024-08-25 | fix: Fix trait method completions not acknowledging Deref impls | Lukas Wirth | -33/+90 | |
| 2024-08-25 | Auto merge of #129521 - matthiaskrgr:rollup-uigv77m, r=matthiaskrgr | bors | -70/+64 | |
| Rollup of 9 pull requests Successful merges: - #128596 (stabilize const_fn_floating_point_arithmetic) - #129199 (make writes_through_immutable_pointer a hard error) - #129246 (Retroactively feature gate `ConstArgKind::Path`) - #129290 (Pin `cc` to 1.0.105) - #129323 (Implement `ptr::fn_addr_eq`) - #129500 (remove invalid `TyCompat` relation for effects) - #129501 (panicking: improve hint for Miri's RUST_BACKTRACE behavior) - #129505 (interpret: ImmTy: tighten sanity checks in offset logic) - #129510 (Fix `elided_named_lifetimes` in code) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2024-08-25 | Auto merge of #17956 - Veykril:metadata-err, r=Veykril | bors | -52/+60 | |
| fix: Fix metadata retrying eating original errors | ||||
| 2024-08-25 | fix: Fix metadata retrying eating original errors | Lukas Wirth | -52/+60 | |
| 2024-08-24 | Rollup merge of #129512 - lolbinarycat:linkchecker-impl-docs, r=ehuss | Trevor Gross | -2/+4 | |
| update the doc comment on lintchecker b/c it parses html now | ||||
| 2024-08-25 | Don't enable the search fast path for short associated functions when a ↵ | Chayim Refael Friedman | -0/+4 | |
| search scope is set In most places where we set a search scope it is a single file, and so the fast path will actually harm performance, since it has to search for aliases in the whole project. The only exception that qualifies for the fast path is SSR (there is an exception that don't qualify for the fast path as it search for `use` items). It sets the search scope to avoid dependencies. We could make it use the fast path, but I didn't bother. | ||||
| 2024-08-24 | Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup | Jason Newcomb | -2961/+3044 | |
| 2024-08-24 | Impl PartialEq and Eq for `IndentLevel` | Chayim Refael Friedman | -1/+1 | |
| We can impl PartialOrd and Ord too, but I didn't need that. | ||||
| 2024-08-24 | Provide `impl From<ast::TypeOrConstParam> for ast::GenericParam` | Chayim Refael Friedman | -1/+10 | |
| 2024-08-24 | Modify `hacks::parse_expr_from_str()` to take an edition too | Chayim Refael Friedman | -10/+14 | |
| This will be needed as we parse unknown identifiers and want to insert them into source code. | ||||
| 2024-08-24 | Add helper methods to retrieve `Future::Output` and `Iterator::Item` | Chayim Refael Friedman | -1/+24 | |
| 2024-08-24 | Provide `Future::Output` and `Iterator` lang items | Chayim Refael Friedman | -3/+9 | |
| 2024-08-24 | Handle associated types that are lang items | Chayim Refael Friedman | -5/+13 | |
| Previously we were ignoring them. | ||||
| 2024-08-24 | Add `gen` modifier to functions | Chayim Refael Friedman | -4/+38 | |
| We don't yet lower or maybe even parse them, but blocks already have `gen`, so why not. | ||||
| 2024-08-24 | Preserve all spans for closure captures, not just one | Chayim Refael Friedman | -179/+456 | |
| This is important for the "convert closure to fn" assist, as it needs to find and modify the places the captures are used. | ||||
| 2024-08-24 | Rollup merge of #129510 - GrigorenkoPV:fix-elided-named-lifetimes, r=cjgillot | Matthias Krüger | -2/+2 | |
| Fix `elided_named_lifetimes` in code https://github.com/rust-lang/rust/pull/129207#issuecomment-2308428671 r? cjgillot | ||||
| 2024-08-24 | Rollup merge of #129501 - RalfJung:miri-rust-backtrace, r=Noratrieb | Matthias Krüger | -33/+33 | |
| panicking: improve hint for Miri's RUST_BACKTRACE behavior Should help with https://github.com/rust-lang/miri/issues/3838 | ||||
| 2024-08-24 | Rollup merge of #128596 - RalfJung:const_fn_floating_point_arithmetic, ↵ | Matthias Krüger | -35/+29 | |
| r=nnethercote stabilize const_fn_floating_point_arithmetic Part of https://github.com/rust-lang/rust/issues/128288 Fixes https://github.com/rust-lang/rust/issues/57241 The existing test `tests/ui/consts/const_let_eq_float.rs` ([link](https://github.com/RalfJung/rust/blob/const_fn_floating_point_arithmetic/tests/ui/consts/const_let_eq_float.rs)) covers the basics, and also Miri has extensive tests covering the interpreter's float machinery. Also, that machinery can already be used on stable inside `const`/`static` initializers, just not inside `const fn`. This was explicitly called out in https://github.com/rust-lang/rfcs/pull/3514 so in a sense t-lang just recently already FCP'd this, but let's hear from them whether they want another FCP for the stabilization here or whether that was covered by the FCP for the RFC. Cc ``@rust-lang/lang`` ### Open items - [x] Update the Reference: https://github.com/rust-lang/reference/pull/1566 | ||||
| 2024-08-24 | Fix few bugs in closure capture computation, and add tests | Chayim Refael Friedman | -3/+291 | |
| Also create a test infrastructure for capture computation. | ||||
| 2024-08-25 | Add 0 preemption rate flag | tiif | -0/+2 | |
| 2024-08-25 | Add 0 preemption rate flag for blocking test and fix comment | tiif | -1/+1 | |
| 2024-08-25 | Make blocking_epoll_callback a private function | tiif | -43/+41 | |
| 2024-08-25 | Remove thread_id from epoll::thread_ids after timeout | tiif | -13/+9 | |
| 2024-08-25 | Fix error introduced by rebase | tiif | -4/+9 | |
| 2024-08-25 | Check if the thread is blocked before waking them up | tiif | -1/+13 | |
| 2024-08-25 | Change timeout value | tiif | -2/+2 | |
