Skip to content

Commit 34fcb37

Browse files
authored
C/QotW and notable changes (#7348)
1 parent e78a906 commit 34fcb37

File tree

1 file changed

+84
-3
lines changed

1 file changed

+84
-3
lines changed

draft/2025-12-03-this-week-in-rust.md

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

7777
## Crate of the Week
7878

79-
<!-- COTW goes here -->
79+
This week's crate is [corosensei](https://github.com/Amanieu/corosensei), a crate that allows you to write stackful coroutines on stable Rust.
80+
81+
Thanks to [Christiaan](https://users.rust-lang.org/t/crate-of-the-week/2704/1497) for the suggestion!
8082

8183
[Please submit your suggestions and votes for next week][submit_crate]!
8284

@@ -126,7 +128,82 @@ If you are an event organizer hoping to expand the reach of your event, please s
126128

127129
## Updates from the Rust Project
128130

129-
<!-- Rust updates go here -->
131+
509 pull requests were [merged in the last week][merged]
132+
133+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-11-25..2025-12-02
134+
135+
#### Compiler
136+
* [add `Box::clone_from_ref` and similar under `feature(clone_from_ref)`](https://github.com/rust-lang/rust/pull/149079)
137+
* [add `Command::get_env_clear`](https://github.com/rust-lang/rust/pull/149074)
138+
* [add a diagnostic attribute for special casing const bound errors for non-const impls](https://github.com/rust-lang/rust/pull/148641)
139+
* [collapse `constness` query `match` logic](https://github.com/rust-lang/rust/pull/149444)
140+
141+
#### Library
142+
* [add `impl TrustedLen` on `BTree{Map,Set}` iterators](https://github.com/rust-lang/rust/pull/149381)
143+
* [constify `from_fn, try_from_fn, try_map,` map](https://github.com/rust-lang/rust/pull/147071)
144+
* [implement `Iterator::{exactly_one, collect_array}`](https://github.com/rust-lang/rust/pull/149270)
145+
* [implement `clamp_magnitude` method for primitive floats & signed integers](https://github.com/rust-lang/rust/pull/148690)
146+
* [in `BTreeMap::eq`, do not compare the elements if the sizes are different](https://github.com/rust-lang/rust/pull/149125)
147+
* [num: implement `uint_gather_scatter_bits` feature for unsigned integers](https://github.com/rust-lang/rust/pull/149097)
148+
* [offload intrinsic](https://github.com/rust-lang/rust/pull/147936)
149+
* [optimize `slice::Iter::next_chunk`](https://github.com/rust-lang/rust/pull/149131)
150+
* [stabilize `asm_cfg`](https://github.com/rust-lang/rust/pull/147736)
151+
* [stabilize `maybe_uninit_slice`](https://github.com/rust-lang/rust/pull/149102)
152+
* [stabilize `maybe_uninit_write_slice`](https://github.com/rust-lang/rust/pull/148048)
153+
* [stabilize `unchecked_neg` and `unchecked_shifts`](https://github.com/rust-lang/rust/pull/149087)
154+
155+
#### Cargo
156+
* [`clean`: Clean hosts builds with new layout](https://github.com/rust-lang/cargo/pull/16300)
157+
* [`completion`: Put host-tuple before actual tuples](https://github.com/rust-lang/cargo/pull/16327)
158+
* [`completions`: include `all` in `cargo tree --target` candidates](https://github.com/rust-lang/cargo/pull/16322)
159+
* [`config-include`: remove support of single string shorthand](https://github.com/rust-lang/cargo/pull/16298)
160+
* [`lints`: show lint error number](https://github.com/rust-lang/cargo/pull/16320)
161+
* [`clean`: add --workspace support](https://github.com/rust-lang/cargo/pull/16263)
162+
* [do not lock the artifact-dir for check builds + fix uplifting](https://github.com/rust-lang/cargo/pull/16307)
163+
* [properly validate crate names in `cargo install`](https://github.com/rust-lang/cargo/pull/16314)
164+
165+
#### Rustdoc
166+
* [fix bad intra-doc-link preprocessing](https://github.com/rust-lang/rust/pull/148169)
167+
* [fix invalid link generation for type alias methods](https://github.com/rust-lang/rust/pull/149274)
168+
* [fix rustdoc search says “Consider searching for "null" instead.” #149324](https://github.com/rust-lang/rust/pull/149332)
169+
170+
#### Clippy
171+
* [`manual_ilog2`: new lint](https://github.com/rust-lang/rust-clippy/pull/15865)
172+
* [`equatable_if_let`: don't lint if pattern or initializer come from expansion](https://github.com/rust-lang/rust-clippy/pull/15958)
173+
* [add `ptr_offset_by_literal` lint](https://github.com/rust-lang/rust-clippy/pull/15606)
174+
* [clippy lints page improvements and cleanups](https://github.com/rust-lang/rust-clippy/pull/16112)
175+
* [fix `implicit_hasher` wrongly unmangled macros](https://github.com/rust-lang/rust-clippy/pull/16129)
176+
* [fix `large_stack_frames` false positive on compiler generated targets](https://github.com/rust-lang/rust-clippy/pull/15101)
177+
* [fix display of dropdown menu "buttons"](https://github.com/rust-lang/rust-clippy/pull/16151)
178+
* [fix: `zero_repeat_side_effects` misses curlies](https://github.com/rust-lang/rust-clippy/pull/15853)
179+
* [new lint: `decimal_bitwise_operands`](https://github.com/rust-lang/rust-clippy/pull/15215)
180+
* [stop inserting redundant parenthesis around desugared match expressions](https://github.com/rust-lang/rust-clippy/pull/16102)
181+
182+
#### Rust-Analyzer
183+
* [add multiple generate for `enum` generate is, as, `try_into`](https://github.com/rust-lang/rust-analyzer/pull/20685)
184+
* [build releases with static CRT for `-windows-msvc` targets](https://github.com/rust-lang/rust-analyzer/pull/21027)
185+
* [completions: fix completions disregarding snippet capabilities](https://github.com/rust-lang/rust-analyzer/pull/21131)
186+
* [feature: set `enclosing_range` field on SCIP output](https://github.com/rust-lang/rust-analyzer/pull/21141)
187+
* [fix Display scope inlay hints after closing brace for more types of blocks #18833](https://github.com/rust-lang/rust-analyzer/pull/21077)
188+
* [fix `syntax_editor` duplicated changed element](https://github.com/rust-lang/rust-analyzer/pull/21023)
189+
* [fix complete after `extern`, add `crate` completion](https://github.com/rust-lang/rust-analyzer/pull/21144)
190+
* [fix not complete after inner-attr in source-file](https://github.com/rust-lang/rust-analyzer/pull/20976)
191+
* [fix not complete type alias in pattern](https://github.com/rust-lang/rust-analyzer/pull/21028)
192+
* [fix skipiter not applicable in autoderef](https://github.com/rust-lang/rust-analyzer/pull/21095)
193+
* [do not try to connect via postcard to proc-macro-srv](https://github.com/rust-lang/rust-analyzer/pull/21133)
194+
* [don't run cache priming when disabled in settings](https://github.com/rust-lang/rust-analyzer/pull/21151)
195+
* [fix proc-macro-srv passing invalid extra none group to proc-macros](https://github.com/rust-lang/rust-analyzer/pull/21190)
196+
* [fix proc-macro-srv protocol read implementation](https://github.com/rust-lang/rust-analyzer/pull/21135)
197+
* [pass the correct per-token (not global) edition when expanding `macro_rules`](https://github.com/rust-lang/rust-analyzer/pull/20164)
198+
* [rewrite dyn trait lowering to follow rustc](https://github.com/rust-lang/rust-analyzer/pull/21159)
199+
* [support multiple `enable` in `#[target_feature]`](https://github.com/rust-lang/rust-analyzer/pull/21170)
200+
* [use per-token, not global, edition in the parser](https://github.com/rust-lang/rust-analyzer/pull/20163)
201+
* [use root hygiene for speculative resolution](https://github.com/rust-lang/rust-analyzer/pull/20217)
202+
* [perf: use one query per crate for lang items, not one per lang item](https://github.com/rust-lang/rust-analyzer/pull/21149)
203+
* [proc-macro-srv: fix `<TokenStream as Display>::fmt` impl producing trailing whitespace](https://github.com/rust-lang/rust-analyzer/pull/21145)
204+
* [proc-macro-srv: fix `<TokenStream as Display>::fmt` impl rendering puncts as u8](https://github.com/rust-lang/rust-analyzer/pull/21146)
205+
* [proc-macro-srv: fix unnecessary subtree wrapping in protocol](https://github.com/rust-lang/rust-analyzer/pull/21154)
206+
* [re-introduce attribute rewrite](https://github.com/rust-lang/rust-analyzer/pull/20892)
130207

131208
### Rust Compiler Performance Triage
132209

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

329406
# Quote of the Week
330407

331-
<!-- QOTW goes here -->
408+
> \[...\] just returning an error is not *error handling*, it is just user space unwinding.
409+
410+
[Ddystopia on Rust-internals](https://internals.rust-lang.org/t/re-opening-deprecating-option-unwrap-and-result-unwrap/23734/45)
411+
412+
Thanks to [Aleksander Krauze](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1734) for the suggestion!
332413

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

0 commit comments

Comments
 (0)