Skip to content

Commit 9cef9f9

Browse files
committed
C/QotW and notable changes
1 parent 1af83ee commit 9cef9f9

File tree

1 file changed

+80
-3
lines changed

1 file changed

+80
-3
lines changed

draft/2025-08-27-this-week-in-rust.md

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

5656
## Crate of the Week
5757

58-
<!-- COTW goes here -->
58+
This week's crate is [web-route](https://crates.io/crates/web-route), a library to ergonomically define and manage web server routes in Rust.
59+
60+
Thanks to [sidrubs](https://users.rust-lang.org/t/crate-of-the-week/2704/1463) for the self-suggestion!
5961

6062
[Please submit your suggestions and votes for next week][submit_crate]!
6163

@@ -137,7 +139,78 @@ If you are an event organizer hoping to expand the reach of your event, please s
137139

138140
## Updates from the Rust Project
139141

140-
<!-- Rust updates go here -->
142+
553 pull requests were [merged in the last week][merged]
143+
144+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-08-19..2025-08-26
145+
146+
#### Compiler
147+
* [demote `x86_64-apple-darwin` to Tier 2 with host tools](https://github.com/rust-lang/rust/pull/145252)
148+
* [`rustc_expand`: ensure stack in `InvocationCollector::visit_expr`](https://github.com/rust-lang/rust/pull/145410)
149+
* [account for impossible bounds making seemingly unsatisfyable dyn-to-dyn casts](https://github.com/rust-lang/rust/pull/145620)
150+
* [add lint against integer to pointer transmutes](https://github.com/rust-lang/rust/pull/144531)
151+
* [fix ICE when validating transmuting ZST to inhabited `enum`](https://github.com/rust-lang/rust/pull/145791)
152+
* [refactor attribute parsing to improve ergonomics and some diagnostics](https://github.com/rust-lang/rust/pull/145507)
153+
* [simplify span caches](https://github.com/rust-lang/rust/pull/145505)
154+
* [slightly optimize reading of source files](https://github.com/rust-lang/rust/pull/145848)
155+
* [miri: account for time spent tracing, use RDTSC for faster time](https://github.com/rust-lang/miri/pull/4524)
156+
* [miri: support weak definitions](https://github.com/rust-lang/miri/pull/4414)
157+
158+
#### Library
159+
* [`UnsafePinned::raw_get`: sync signature with get](https://github.com/rust-lang/rust/pull/145593)
160+
* [`bufreader::Buffer::backshift`: don't move the uninit bytes](https://github.com/rust-lang/rust/pull/145538)
161+
* [experiment: reborrow trait](https://github.com/rust-lang/rust/pull/145726)
162+
* [fix parameter order for `_by()` variants of `min` / `max`/ `minmax` in `std::cmp`](https://github.com/rust-lang/rust/pull/139357)
163+
* [fmt of non-decimal radix untangled](https://github.com/rust-lang/rust/pull/143730)
164+
* [implementation: `#[feature(nonpoison_rwlock)]`](https://github.com/rust-lang/rust/pull/144648)
165+
* [stabilize `const_array_each_ref`](https://github.com/rust-lang/rust/pull/143383)
166+
* [stabilize `const_pathbuf_osstring_new` feature](https://github.com/rust-lang/rust/pull/145464)
167+
* [hashbrown: un-bloat `get_inner` functions to restore lookup performance](https://github.com/rust-lang/hashbrown/pull/639)
168+
169+
#### Cargo
170+
* [cargo: linting system](https://github.com/rust-lang/cargo/pull/15865)
171+
* [cargo: suggest workspace hints for boolean dependencies](https://github.com/rust-lang/cargo/pull/15507)
172+
173+
#### Rustdoc
174+
* [add support for macro expansion in rustdoc source code pages](https://github.com/rust-lang/rust/pull/137229)
175+
* [make attributes render consistently](https://github.com/rust-lang/rust/pull/145782)
176+
* [render attributes in Field and Variants sections](https://github.com/rust-lang/rust/pull/145812)
177+
178+
#### Clippy
179+
* [clippy: `bool_comparison`: fix incorrect suggestion with `>`/`<` and macros](https://github.com/rust-lang/rust-clippy/pull/15513)
180+
* [clippy: `bool_comparison`: no longer lint on `!x != y`](https://github.com/rust-lang/rust-clippy/pull/15498)
181+
* [clippy: `cast_slice_from_raw_parts`: check for implicit cast to raw slice pointer](https://github.com/rust-lang/rust-clippy/pull/15437)
182+
* [clippy: `ptr_as_ptr`: fix incorrect suggestion with `pointer::cast` and macros](https://github.com/rust-lang/rust-clippy/pull/15514)
183+
* [clippy: `too_many_lines`: only highlight the function signature](https://github.com/rust-lang/rust-clippy/pull/15461)
184+
* [clippy: `unnecessary_mut_passed`: add structured suggestion](https://github.com/rust-lang/rust-clippy/pull/15438)
185+
* [clippy: `unused_unit`: don't lint on closure return types](https://github.com/rust-lang/rust-clippy/pull/15549)
186+
* [clippy: better check for `assign_op_pattern` in `const` context](https://github.com/rust-lang/rust-clippy/pull/15532)
187+
* [clippy: check f16 and f128 in `float_equality_without_abs`](https://github.com/rust-lang/rust-clippy/pull/15054)
188+
* [clippy: detect infinite loop in `async fn` not returning `!`](https://github.com/rust-lang/rust-clippy/pull/15545)
189+
* [clippy: do not replace `match` by `if` if any arm contains a binding](https://github.com/rust-lang/rust-clippy/pull/15352)
190+
* [clippy: fix `unnecessary_safety_comment` not linting for the first line](https://github.com/rust-lang/rust-clippy/pull/15354)
191+
* [clippy: fix `async_yields_async` wrongly unmangled macros](https://github.com/rust-lang/rust-clippy/pull/15553)
192+
* [clippy: fix `derivable_impls` suggests wrongly on `derive_const`](https://github.com/rust-lang/rust-clippy/pull/15535)
193+
* [clippy: fix `manual_is_ascii_check`: also add explicit type when linting `matches!`](https://github.com/rust-lang/rust-clippy/pull/15492)
194+
* [clippy: fix `or_then_unwrap`: suggestion preserves macro calls](https://github.com/rust-lang/rust-clippy/pull/15483)
195+
* [clippy: fix `semicolon_inside_block` false positive when attribute over expr is not enabled](https://github.com/rust-lang/rust-clippy/pull/15476)
196+
* [clippy: fix `unnested_or_patterns` false positive on structs with only shorthand field pats](https://github.com/rust-lang/rust-clippy/pull/15343)
197+
198+
#### Rust-Analyzer
199+
* [rust-analyzer: `replace_arith_op` not applicable on selected](https://github.com/rust-lang/rust-analyzer/pull/20512)
200+
* [rust-analyzer: add `ReturnExpr` completion suggest](https://github.com/rust-lang/rust-analyzer/pull/20507)
201+
* [rust-analyzer: add let in let-chain completion support](https://github.com/rust-lang/rust-analyzer/pull/20513)
202+
* [rust-analyzer: add an option to hide reborrows in adjustment inlay hints](https://github.com/rust-lang/rust-analyzer/pull/20520)
203+
* [rust-analyzer: fix `else` completion in `let _ = if x {} $0`](https://github.com/rust-lang/rust-analyzer/pull/20518)
204+
* [rust-analyzer: fix panic in `syntax_highlighting`](https://github.com/rust-lang/rust-analyzer/pull/20506)
205+
* [rust-analyzer: fix rust-analyzer-contributors reference](https://github.com/rust-lang/rust-analyzer/pull/20529)
206+
* [rust-analyzer: fix indentation in `move_guard_to_arm_body`](https://github.com/rust-lang/rust-analyzer/pull/20509)
207+
* [rust-analyzer: fix opaque generics](https://github.com/rust-lang/rust-analyzer/pull/20523)
208+
* [rust-analyzer: improve semicolon handling in `toggle_macro_delimiter`](https://github.com/rust-lang/rust-analyzer/pull/20534)
209+
* [rust-analyzer: infinite recursion while lowering assoc type bounds from supertraits](https://github.com/rust-lang/rust-analyzer/pull/20504)
210+
* [rust-analyzer: make import sorting order follow 2024 edition style](https://github.com/rust-lang/rust-analyzer/pull/20423)
211+
* [rust-analyzer: masquerade as nightly cargo when invoking flycheck with `-Zscript`](https://github.com/rust-lang/rust-analyzer/pull/20528)
212+
* [rust-analyzer: normalize all types when finishing inference](https://github.com/rust-lang/rust-analyzer/pull/20537)
213+
* [rust-analyzer: remove unnecessary `salsa::attach()` calls](https://github.com/rust-lang/rust-analyzer/pull/20502)
141214

142215
### Rust Compiler Performance Triage
143216

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

355428
# Quote of the Week
356429

357-
<!-- QOTW goes here -->
430+
> I `clone()` everything now. The Borrow Checker permits this small rebellion, this inefficiency. It knows I suffer more knowing my code is not idiomatic. Every `.clone()` is a confession of my failure. Every `Arc<Mutex>` a monument to my inadequacy.
431+
432+
[/u/TheEldenLorrdd on /r/rust](https://reddit.com/comments/1mwmei6)
433+
434+
Thanks to [Colin Terry](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1709) for the suggestion!
358435

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

0 commit comments

Comments
 (0)