Skip to content

Commit 5e0dcc7

Browse files
committed
C/QotW and notable changes
1 parent d9a0180 commit 5e0dcc7

File tree

1 file changed

+63
-3
lines changed

1 file changed

+63
-3
lines changed

draft/2025-07-16-this-week-in-rust.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ and just ask the editors to select the category.
5050

5151
## Crate of the Week
5252

53-
<!-- COTW goes here -->
53+
This week's crate is [oxvg](https://github.com/noahbald/oxvg), a SVG optimizer.
54+
55+
Thanks to [Noah Baldwin](https://users.rust-lang.org/t/crate-of-the-week/2704/1450) for the self-suggestion!
5456

5557
[Please submit your suggestions and votes for next week][submit_crate]!
5658

@@ -132,7 +134,61 @@ If you are an event organizer hoping to expand the reach of your event, please s
132134

133135
## Updates from the Rust Project
134136

135-
<!-- Rust updates go here -->
137+
421 pull requests were [merged in the last week][merged]
138+
139+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-07-08..2025-07-15
140+
141+
#### Compiler
142+
* [use lld by default on `x86_64-unknown-linux-gnu` stable](https://github.com/rust-lang/rust/pull/140525)
143+
* [apply effects to `otherwise` edge in dataflow analysis](https://github.com/rust-lang/rust/pull/142707)
144+
* [compute all rpitit of a trait](https://github.com/rust-lang/rust/pull/143783)
145+
* [consider nested cases for duplicate RPITIT](https://github.com/rust-lang/rust/pull/143570)
146+
* [propagate from borrowed locals in CopyProp](https://github.com/rust-lang/rust/pull/143624)
147+
* [resolver: refactor macro map into external and local maps](https://github.com/rust-lang/rust/pull/143657)
148+
149+
#### Library
150+
* [constify `Fn*` traits](https://github.com/rust-lang/rust/pull/143640)
151+
* [constify `From` and `Into`](https://github.com/rust-lang/rust/pull/143774)
152+
* [make `Default` const and add some `const Default` impls](https://github.com/rust-lang/rust/pull/134628)
153+
* [slice: mark `rotate_left`, `rotate_right` unstably const](https://github.com/rust-lang/rust/pull/143554)
154+
* [core: add `BorrowedCursor::with_unfilled_buf`](https://github.com/rust-lang/rust/pull/142885)
155+
* [implement `int_format_into` feature](https://github.com/rust-lang/rust/pull/142098)
156+
157+
#### Cargo
158+
* [add `[hints]` table in `Cargo.toml`, and a `hints.mostly-unused` hint](https://github.com/rust-lang/cargo/pull/15673)
159+
* [implementation and tests for `multiple-build-scripts`](https://github.com/rust-lang/cargo/pull/15704)
160+
* [perf: speed up TOML parsing by upgrading toml](https://github.com/rust-lang/cargo/pull/15736)
161+
162+
#### Rustdoc
163+
* [don't mark `#[target_feature]` safe fns as unsafe in rustdoc JSON](https://github.com/rust-lang/rust/pull/143555)
164+
165+
#### Clippy
166+
* [`arithmetic_side_effects`: don't warn on `NonZeroU*.get() - 1`](https://github.com/rust-lang/rust-clippy/pull/15238)
167+
* [`or_fun_call`: lint method calls inside `map_or` first arg](https://github.com/rust-lang/rust-clippy/pull/15074)
168+
* [`{flat_,}map_identity`: recognize `|[x, y]| [x, y]` as an identity function as well](https://github.com/rust-lang/rust-clippy/pull/15229)
169+
* [add `uninlined_format_args` example for `{:?}`](https://github.com/rust-lang/rust-clippy/pull/15228)
170+
* [do not remove method call if type is adjusted](https://github.com/rust-lang/rust-clippy/pull/15181)
171+
* [fix `approx_const` for some new cases](https://github.com/rust-lang/rust-clippy/pull/15236)
172+
* [fix `expect_fun_call` producing invalid suggestions](https://github.com/rust-lang/rust-clippy/pull/15122)
173+
* [fix `legacy_numeric_constants` suggestion when call is wrapped in parens](https://github.com/rust-lang/rust-clippy/pull/15191)
174+
* [fix `manual_abs_diff` suggests wrongly behind refs](https://github.com/rust-lang/rust-clippy/pull/15265)
175+
* [fix `manual_assert` suggests wrongly for macros](https://github.com/rust-lang/rust-clippy/pull/15264)
176+
* [fix `manual_is_variant_and` condition generation](https://github.com/rust-lang/rust-clippy/pull/15206)
177+
* [fix false negative of `expect_used`](https://github.com/rust-lang/rust-clippy/pull/15253)
178+
* [fix manual is multiple of](https://github.com/rust-lang/rust-clippy/pull/15205)
179+
* [fix multiple problems in #15063](https://github.com/rust-lang/rust-clippy/pull/15070)
180+
* [fix suggestion causes error of `needless_for_each`](https://github.com/rust-lang/rust-clippy/pull/15262)
181+
* [skip exit late lint pass on tests](https://github.com/rust-lang/rust-clippy/pull/15222)
182+
183+
#### Rust-Analyzer
184+
* [rust-analyzer: generate `new` for tuple `struct`](https://github.com/rust-lang/rust-analyzer/pull/20109)
185+
* [rust-analyzer: support folding multiline arg list & fn body in one folding range](https://github.com/rust-lang/rust-analyzer/pull/20054)
186+
* [rust-analyzer: assoc type where clause position](https://github.com/rust-lang/rust-analyzer/pull/20235)
187+
* [rust-analyzer: fix display of `use<>` syntax](https://github.com/rust-lang/rust-analyzer/pull/20228)
188+
* [rust-analyzer: fixes for `dyn` inlay hint](https://github.com/rust-lang/rust-analyzer/pull/20212)
189+
* [rust-analyzer: inline asm fixes](https://github.com/rust-lang/rust-analyzer/pull/20210)
190+
* [rust-analyzer: normalize projection types before calculating memory maps](https://github.com/rust-lang/rust-analyzer/pull/20232)
191+
* [rust-analyzer: perf: put the expression stuff in the expression store behind an `Option<Box>`](https://github.com/rust-lang/rust-analyzer/pull/20219)
136192

137193
### Rust Compiler Performance Triage
138194

@@ -303,7 +359,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
303359

304360
# Quote of the Week
305361

306-
<!-- QOTW goes here -->
362+
> Unfortunately -∞ doesn't fit in `usize`.
363+
364+
[Tomek Czajka on rust-users](https://users.rust-lang.org/t/enumerations-how-are-they-stored-and-other-questions/131667/31)
365+
366+
Thanks to [Kyllingene](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1703) for the suggestion!
307367

308368
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
309369

0 commit comments

Comments
 (0)