Skip to content

Commit 8ce6919

Browse files
authored
C/QotW and notable changes (#6941)
1 parent 9df0eb9 commit 8ce6919

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
@@ -60,7 +60,9 @@ and just ask the editors to select the category.
6060

6161
## Crate of the Week
6262

63-
<!-- COTW goes here -->
63+
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.
64+
65+
Thanks to [sidrubs](https://users.rust-lang.org/t/crate-of-the-week/2704/1463) for the self-suggestion!
6466

6567
[Please submit your suggestions and votes for next week][submit_crate]!
6668

@@ -142,7 +144,78 @@ If you are an event organizer hoping to expand the reach of your event, please s
142144

143145
## Updates from the Rust Project
144146

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

147220
### Rust Compiler Performance Triage
148221

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

378451
# Quote of the Week
379452

380-
<!-- QOTW goes here -->
453+
> 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.
454+
455+
[/u/TheEldenLorrdd on /r/rust](https://reddit.com/comments/1mwmei6)
456+
457+
Thanks to [Colin Terry](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1709) for the suggestion!
381458

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

0 commit comments

Comments
 (0)