Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d780821
Ensure inferred let pattern types are well-formed
s7tya May 27, 2026
9633071
Don't suggest wrong unwrap expect
lokirithm May 31, 2026
2314457
borrowck: avoid ICE describing fields on generic params
pbkx Jun 1, 2026
b573841
Use a placeholder self type for escaping dyn principals in WF
Dnreikronos Jun 2, 2026
0676d4a
Add regression tests for WF-checking dyn in HRTB bounds
Dnreikronos Jun 2, 2026
de37dfd
Add or_try_* variants for HashMap Entry API
peterjoel Feb 6, 2024
92175ed
platform support: add SNaN erratum to MIPS targets
RalfJung Jun 2, 2026
51001cf
Make the retained dep graph deterministic under the parallel frontend
xmakro Jun 3, 2026
d00722c
Re-enable dep-graph ui tests under the parallel frontend
xmakro Jun 3, 2026
5a7ca04
Use field-index fallback for undescribed fields
pbkx Jun 5, 2026
c1cd236
Attribute post-monomorphization error notes by emitting thread
xmakro Jun 5, 2026
2e128c7
Re-enable parallel frontend tests for post-monomorphization errors
xmakro Jun 5, 2026
3ecbb39
Update `browser-ui-test` version to `0.24.0`
GuillaumeGomez Jun 8, 2026
0d980a5
Update nodejs version used in CI to `24.15.0`
GuillaumeGomez Jun 8, 2026
1e125ce
Support defaults for static EIIs
AsakuraMizu May 14, 2026
3669c24
Allow escaping self types in ExistentialTraitRef::with_self_ty
Dnreikronos Jun 9, 2026
e069f47
Add a regression test
oli-obk Jun 8, 2026
947a5b6
Mark `trait_info_of` as comptime and adjust the compiler to handle it
oli-obk Jun 8, 2026
b3c6e82
Mark more reflection things as comptime
oli-obk Jun 8, 2026
5bc21b1
Fix parser error recovery for 'dyn' in Rust 2015
i-like-ICEs Jun 9, 2026
c010b25
Implement or_try_* methods on BTreeMap Entry API
asder8215 Jun 3, 2026
6324b4a
Add flush strategy to allow observing bytes before they are flushed.
Daniel-B-Smith Jun 8, 2026
8ee1dfa
Move symbol hiding code to a new file
cezarbbb Jun 10, 2026
2a5673f
Rename `rustc_expand/src/errors.rs` into `rustc_expand/src/diagnostic…
GuillaumeGomez Jun 9, 2026
96eb195
Rename `rustc_metadata/src/errors.rs` into `rustc_metadata/src/diagno…
GuillaumeGomez Jun 9, 2026
32a2f0c
Add more tests that exercise the well-formedness checking of lazy typ…
fmease Jun 10, 2026
00ac562
Rename `rustc_mir_build/src/errors.rs` into `rustc_mir_build/src/diag…
GuillaumeGomez Jun 10, 2026
b679cbd
Rename `rustc_mir_dataflow/src/errors.rs` into `rustc_mir_dataflow/sr…
GuillaumeGomez Jun 10, 2026
6708111
Emit error for unused target expression in glob and list delegations
aerooneqq Jun 10, 2026
6a0f2d4
Fix doc link to Instant sub in saturating caveat
orlp Jun 10, 2026
f5e5709
Only register the `atexit` hook when `cleanup` is unloadable
ohadravid Jun 9, 2026
7f0f6e0
Add #[rustc_dump_generics] attribute, tests
Jun 3, 2026
88f3ac1
Manually download chrome instead of letting yarn/npm doing it
GuillaumeGomez Jun 8, 2026
cdb6acc
Reject static EII defaults on Apple targets
AsakuraMizu Jun 9, 2026
1c511f4
compiletest: ignore SVG `y` offset in by-lines comparison
xmakro Jun 5, 2026
816c70b
resolve: Partially revert "Remove a special case for dummy imports"
petrochenkov Jun 10, 2026
96362fc
Rollup merge of #157280 - Dnreikronos:existential_trait_ref_escaping_…
jhpratt Jun 10, 2026
f7d3474
Rollup merge of #157282 - xmakro:fix/parallel-pme-note, r=petrochenkov
jhpratt Jun 10, 2026
ab955d4
Rollup merge of #157352 - xmakro:fix/parallel-dep-graph-determinism, …
jhpratt Jun 10, 2026
446f02b
Rollup merge of #157601 - aerooneqq:delegation-glob-useless-target-ex…
jhpratt Jun 10, 2026
e6a9ac7
Rollup merge of #157611 - GuillaumeGomez:update-browser-ui-test, r=ji…
jhpratt Jun 10, 2026
7ffda80
Rollup merge of #157620 - Daniel-B-Smith:smithdb3/fileencoder-strateg…
jhpratt Jun 10, 2026
60c0690
Rollup merge of #157645 - ohadravid:windows-tls-leak-on-dll-instead-o…
jhpratt Jun 10, 2026
e81aa2c
Rollup merge of #157647 - oli-obk:start-using-comptime, r=fee1-dead
jhpratt Jun 10, 2026
75f9a32
Rollup merge of #157719 - petrochenkov:regr197err, r=jackh726
jhpratt Jun 10, 2026
604ea02
Rollup merge of #156497 - lokirithm:fix-155516, r=cjgillot
jhpratt Jun 10, 2026
45c682c
Rollup merge of #156583 - AsakuraMizu:eii-static-default, r=JonathanB…
jhpratt Jun 10, 2026
fcb54aa
Rollup merge of #157013 - s7tya:fix-let-pat-inferred-wf, r=lcnr
jhpratt Jun 10, 2026
5f9d389
Rollup merge of #157230 - pbkx:issue-155344-borrowck-field-param, r=c…
jhpratt Jun 10, 2026
62238c4
Rollup merge of #157288 - RalfJung:mips-snan, r=ehuss,chenx97,Cyanoxygen
jhpratt Jun 10, 2026
c00d504
Rollup merge of #157350 - xmakro:fix/parallel-svg-y-offset, r=petroch…
jhpratt Jun 10, 2026
8900e13
Rollup merge of #157355 - asder8215:entry_try, r=jhpratt
jhpratt Jun 10, 2026
0d69ce2
Rollup merge of #157384 - addiesh:turbofisherwoman, r=oli-obk
jhpratt Jun 10, 2026
e6ff3ff
Rollup merge of #157577 - i-like-ICEs:fix-dyn-2015-parser, r=fmease
jhpratt Jun 10, 2026
7f14df4
Rollup merge of #157670 - GuillaumeGomez:rename-err-to-diag, r=Jonath…
jhpratt Jun 10, 2026
dc03fbd
Rollup merge of #157691 - cezarbbb:staticlib-move-symbol-edit, r=petr…
jhpratt Jun 10, 2026
c3c980d
Rollup merge of #157697 - fmease:lta-more-wf-tests, r=TaKO8Ki
jhpratt Jun 10, 2026
b43c6e9
Rollup merge of #157700 - GuillaumeGomez:rename-err-to-diag-2, r=Jona…
jhpratt Jun 10, 2026
8367944
Rollup merge of #157703 - orlp:fix-instant-comment, r=SimonSapin
jhpratt Jun 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix doc link to Instant sub in saturating caveat
  • Loading branch information
orlp committed Jun 10, 2026
commit 6a0f2d4772b5d806d8b98d4409f4acf06d1e3554
6 changes: 3 additions & 3 deletions library/std/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ use crate::sys::{FromInner, IntoInner, time};
/// if available, which is the case for all [tier 1] platforms.
/// In practice such guarantees are – under rare circumstances – broken by hardware, virtualization
/// or operating system bugs. To work around these bugs and platforms not offering monotonic clocks
/// [`duration_since`], [`elapsed`] and [`sub`] saturate to zero. In older Rust versions this
/// lead to a panic instead. [`checked_duration_since`] can be used to detect and handle situations
/// where monotonicity is violated, or `Instant`s are subtracted in the wrong order.
/// [`duration_since`], [`elapsed`] and [`sub`](#impl-Sub-for-Instant) saturate to zero. In older
/// Rust versions this lead to a panic instead. [`checked_duration_since`] can be used to detect and
/// handle situations where monotonicity is violated, or `Instant`s are subtracted in the wrong order.
///
/// This workaround obscures programming errors where earlier and later instants are accidentally
/// swapped. For this reason future Rust versions may reintroduce panics.
Expand Down
Loading