Skip to content

Commit a058784

Browse files
authored
C/QotW and notable changes (#6592)
1 parent a9d26f3 commit a058784

File tree

1 file changed

+69
-3
lines changed

1 file changed

+69
-3
lines changed

draft/2025-04-30-this-week-in-rust.md

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

6464
## Crate of the Week
6565

66-
<!-- COTW goes here -->
66+
This week's crate is [rust-sel4](https://github.com/seL4/rust-sel4/), a no\_std crate to bind to the Se4L microkernel APIs.
67+
68+
Thanks to [Robbie VanVossen](https://users.rust-lang.org/t/crate-of-the-week/2704/1432) for the suggestion!
6769

6870
[Please submit your suggestions and votes for next week][submit_crate]!
6971

@@ -122,7 +124,65 @@ If you are an event organizer hoping to expand the reach of your event, please s
122124

123125
## Updates from the Rust Project
124126

125-
<!-- Rust updates go here -->
127+
389 pull requests were [merged in the last week][merged]
128+
129+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-04-22..2025-04-29
130+
131+
#### Compiler
132+
133+
* [`rc""` more clear error message](https://github.com/rust-lang/rust/pull/140175)
134+
* [allow deref patterns to move out of boxes](https://github.com/rust-lang/rust/pull/140022)
135+
* [async drop codegen](https://github.com/rust-lang/rust/pull/123948)
136+
* [avoid re-interning in `LateContext::get_def_path`](https://github.com/rust-lang/rust/pull/140345)
137+
* [implement a lint for implicit autoref of raw pointer dereference - take 2](https://github.com/rust-lang/rust/pull/123239)
138+
* [improve error message for `||` (or) in let chains](https://github.com/rust-lang/rust/pull/140272)
139+
* [stabilize let chains in the 2024 edition](https://github.com/rust-lang/rust/pull/132833)
140+
* [deny `unsafe_op_in_unsafe_fn` by default](https://github.com/rust-lang/compiler-builtins/pull/801)
141+
142+
#### Library
143+
144+
* [add `Arc::is_unique`](https://github.com/rust-lang/rust/pull/138939)
145+
* [stabilise `std::ffi::c_str`](https://github.com/rust-lang/rust/pull/137439)
146+
* [stabilize `proc_macro::Span::{start,end,line,column}`](https://github.com/rust-lang/rust/pull/139865)
147+
* [stabilize `slice_as_chunks` library feature](https://github.com/rust-lang/rust/pull/139656)
148+
* [transmutability: support char, NonZeroXxx](https://github.com/rust-lang/rust/pull/140215)
149+
150+
#### Cargo
151+
152+
* [implement RFC3695: Allow boolean literals as cfg predicates](https://github.com/rust-lang/cargo/pull/14649)
153+
* [stabilize automatic garbage collection](https://github.com/rust-lang/cargo/pull/14287)
154+
* [`feat(add/install)`: check if given crate argument would be valid with inserted @ symbol](https://github.com/rust-lang/cargo/pull/15441)
155+
156+
#### Rustdoc
157+
158+
* [correctly display stdout and stderr in case a doctest is failing](https://github.com/rust-lang/rust/pull/140291)
159+
* [stabilize flags for doctest cross compilation](https://github.com/rust-lang/rust/pull/137096)
160+
161+
#### Clippy
162+
163+
* [`manual_div_ceil`: fix suggestions when macro is involved](https://github.com/rust-lang/rust-clippy/pull/14666)
164+
* [consider side effects when rewriting iterator behaviors](https://github.com/rust-lang/rust-clippy/pull/14490)
165+
* [fix `zombie_processes` false positive inside closures](https://github.com/rust-lang/rust-clippy/pull/14696)
166+
* [fix: `equatable_if_let` suggests wrongly when involving reference](https://github.com/rust-lang/rust-clippy/pull/14504)
167+
* [fix: `unnecessary_cast` suggests extra brackets when in macro](https://github.com/rust-lang/rust-clippy/pull/14643)
168+
* [fix: `unused_unit` suggests wrongly on unit never type fallback](https://github.com/rust-lang/rust-clippy/pull/14609)
169+
* [restrict the cases where `ptr_eq` triggers](https://github.com/rust-lang/rust-clippy/pull/14526)
170+
171+
#### Rust-Analyzer
172+
173+
* [add expression fill mode variant for filling with underscore expressions](https://github.com/rust-lang/rust-analyzer/pull/19704)
174+
* [always error when failed to parse DiscoverProjectMessage](https://github.com/rust-lang/rust-analyzer/pull/19684)
175+
* [arena allocate `LifetimeRef`s](https://github.com/rust-lang/rust-analyzer/pull/19678)
176+
* [base-db: add more details to panic](https://github.com/rust-lang/rust-analyzer/pull/19710)
177+
* [add two new diagnostics: one for mismatch in generic arguments count, and another for mismatch in their kind](https://github.com/rust-lang/rust-analyzer/pull/19479)
178+
* [adds an assist to remove underscores from used variables](https://github.com/rust-lang/rust-analyzer/pull/19692)
179+
* [better support `offset_of!()`](https://github.com/rust-lang/rust-analyzer/pull/19657)
180+
* [properly handle lifetimes when checking generic arguments len](https://github.com/rust-lang/rust-analyzer/pull/19676)
181+
* [fix ide-assists `raw_string` suffix fail](https://github.com/rust-lang/rust-analyzer/pull/19622)
182+
* [escape raw names in labels properly](https://github.com/rust-lang/rust-analyzer/pull/19699)
183+
* [fix incorrect diagnostic for lifetime parameter count mismatch](https://github.com/rust-lang/rust-analyzer/pull/19672)
184+
* [fix type argument mismatch incorrectly triggering on inferred trait args](https://github.com/rust-lang/rust-analyzer/pull/19675)
185+
* [panics in inlay hints that produce empty text edits for closure return types](https://github.com/rust-lang/rust-analyzer/pull/19647)
126186

127187
### Rust Compiler Performance Triage
128188

@@ -307,7 +367,13 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
307367

308368
# Quote of the Week
309369

310-
<!-- QOTW goes here -->
370+
> With Bevy clearly being an extended test suite for Rust's trait solver, how did you get the idea to also turn it into a game engine?
371+
372+
> Every sufficiently advanced test is indistinguishable from a game engine 🙂
373+
374+
[/u/0x564A00 and /u/_cart on /r/rust](https://www.reddit.com/r/rust/comments/1k721w1/comment/moumd91)
375+
376+
Thanks to [Ludwig Stecher](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1681) and [Josh Triplett](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1682) for the suggestion!
311377

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

0 commit comments

Comments
 (0)