about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-08-25Add test for triggering notification after timeouttiif-1/+40
2024-08-25Auto merge of #17958 - Veykril:deref-chain-method-completions, r=Veykrilbors-33/+90
fix: Fix trait method completions not acknowledging Deref impls
2024-08-25fix: Fix trait method completions not acknowledging Deref implsLukas Wirth-33/+90
2024-08-25Auto merge of #129521 - matthiaskrgr:rollup-uigv77m, r=matthiaskrgrbors-71/+65
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-25Auto merge of #17956 - Veykril:metadata-err, r=Veykrilbors-52/+60
fix: Fix metadata retrying eating original errors
2024-08-25fix: Fix metadata retrying eating original errorsLukas Wirth-52/+60
2024-08-24Rollup merge of #129512 - lolbinarycat:linkchecker-impl-docs, r=ehussTrevor Gross-2/+4
update the doc comment on lintchecker b/c it parses html now
2024-08-24Rollup merge of #129492 - tshepang:patch-2, r=chenyukangTrevor Gross-4/+3
Make wasm32 platform support docs easier to read
2024-08-24Rollup merge of #129430 - lolbinarycat:rustdoc-search-exact-case, r=notriddleTrevor Gross-0/+8
rustdoc: show exact case-sensitive matches first fixes #119480
2024-08-25Don'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-24Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyupJason Newcomb-2961/+3044
2024-08-24rewrite extract_curl_version againbinarycat-14/+11
2024-08-24rustdoc: clean up tuple <-> primitive conversion docsMichael Howell-40/+74
This adds a minor missing feature to `fake_variadic`, so that it can render `impl From<(T,)> for [T; 1]` correctly.
2024-08-24Impl 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-24Provide `impl From<ast::TypeOrConstParam> for ast::GenericParam`Chayim Refael Friedman-1/+10
2024-08-24Modify `hacks::parse_expr_from_str()` to take an edition tooChayim Refael Friedman-10/+14
This will be needed as we parse unknown identifiers and want to insert them into source code.
2024-08-24Add helper methods to retrieve `Future::Output` and `Iterator::Item`Chayim Refael Friedman-1/+24
2024-08-24Provide `Future::Output` and `Iterator` lang itemsChayim Refael Friedman-3/+9
2024-08-24Handle associated types that are lang itemsChayim Refael Friedman-5/+13
Previously we were ignoring them.
2024-08-24Add `gen` modifier to functionsChayim Refael Friedman-4/+38
We don't yet lower or maybe even parse them, but blocks already have `gen`, so why not.
2024-08-24Preserve all spans for closure captures, not just oneChayim 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-24Rollup merge of #129510 - GrigorenkoPV:fix-elided-named-lifetimes, r=cjgillotMatthias Krüger-3/+3
Fix `elided_named_lifetimes` in code https://github.com/rust-lang/rust/pull/129207#issuecomment-2308428671 r? cjgillot
2024-08-24Rollup merge of #129501 - RalfJung:miri-rust-backtrace, r=NoratriebMatthias 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-24Rollup 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-24Fix few bugs in closure capture computation, and add testsChayim Refael Friedman-3/+291
Also create a test infrastructure for capture computation.
2024-08-25Add 0 preemption rate flagtiif-0/+2
2024-08-25Add 0 preemption rate flag for blocking test and fix commenttiif-1/+1
2024-08-25Make blocking_epoll_callback a private functiontiif-43/+41
2024-08-25Remove thread_id from epoll::thread_ids after timeouttiif-13/+9
2024-08-25Fix error introduced by rebasetiif-4/+9
2024-08-25Check if the thread is blocked before waking them uptiif-1/+13
2024-08-25Change timeout valuetiif-2/+2
2024-08-25Fix error in the timeout value error messagetiif-1/+1
2024-08-25Rename event to eventstiif-2/+2
2024-08-25Pass dest place reference to epoll_waittiif-5/+6
2024-08-25Improve commentbyt-1/+1
Co-authored-by: Ralf Jung <post@ralfj.de>
2024-08-25Support blocking for epolltiif-40/+239
2024-08-24update the doc comment on lintchecker b/c it parses html nowbinarycat-2/+4
2024-08-24Update minifier to 0.3.1Guillaume Gomez-1/+1
2024-08-24Fix `elided_named_lifetimes` in codePavel Grigorenko-3/+3
2024-08-24panicking: improve hint for Miri's RUST_BACKTRACE behaviorRalf Jung-33/+33
2024-08-24Build `library/profiler_builtins` from `ci-llvm` if appropriateZalathar-12/+37
2024-08-24Handle edge case for epoll_ctltiif-24/+105
2024-08-24Auto merge of #3836 - tiif:einval_ctl, r=oli-obkbors-0/+21
epoll: Add a EINVAL case In ``epoll_ctl`` documentation, it is mentioned that: > EINVAL epfd is not an epoll file descriptor, or fd is the same as epfd, or the requested operation op is not supported by this interface. So I added this EINVAL case for ``epfd == fd`` in ``epoll_ctl``
2024-08-24epoll: Add EINVAL casetiif-0/+21
2024-08-24Auto merge of #3840 - RalfJung:pipe-to-array, r=RalfJungbors-1/+12
fix calling pipe, pipe2, socketpair with a pointer-to-array Fixes https://github.com/rust-lang/miri/issues/3839
2024-08-24fix calling pipe, pipe2, socketpair with a pointer-to-arrayRalf Jung-1/+12
2024-08-24Auto merge of #129303 - nikic:llvm19rc3, r=cuviperbors-0/+0
Update to LLVM 19 rc 3 I don't think that this fixes any specific issues we've encountered.
2024-08-23CI: rfl: move to temporary commitMiguel Ojeda-2/+2
Link: https://github.com/rust-lang/rust/pull/129416 Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-08-24remove extraneous textTshepang Mbambo-2/+1