Skip to content

Commit 19c4083

Browse files
committed
C/QotW and notable changes
1 parent 2a27c1f commit 19c4083

File tree

1 file changed

+66
-3
lines changed

1 file changed

+66
-3
lines changed

draft/2025-06-11-this-week-in-rust.md

Lines changed: 66 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 [optics](https://crates.io/crates/optics), a typesafe, fully featured lens library.
54+
55+
Thanks to [Akos Vandra](https://users.rust-lang.org/t/crate-of-the-week/2704/1442) for the self-suggestion!
5456

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

@@ -109,7 +111,64 @@ If you are an event organizer hoping to expand the reach of your event, please s
109111

110112
## Updates from the Rust Project
111113

112-
<!-- Rust updates go here -->
114+
516 pull requests were [merged in the last week][merged]
115+
116+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-06-03..2025-06-10
117+
118+
#### Compiler
119+
120+
* [add (back) `unsupported_calling_conventions` lint to reject more invalid calling conventions](https://github.com/rust-lang/rust/pull/141435)
121+
* [add a new `mismatched-lifetime-syntaxes` lint](https://github.com/rust-lang/rust/pull/138677)
122+
* [fast path for stalled obligations on self ty](https://github.com/rust-lang/rust/pull/141681)
123+
* [simplify and optimize `VecCache`'s SlotIndex::from_index`](https://github.com/rust-lang/rust/pull/142095)
124+
* [rework `collect_and_apply` to not rely on size hint for optimization](https://github.com/rust-lang/rust/pull/141652)
125+
* [miri: TB: add flag to disable the more precise interior mutability tracking](https://github.com/rust-lang/miri/pull/4376)
126+
* [miri: native-lib: allow multiple libraries and/or dirs](https://github.com/rust-lang/miri/pull/4372)
127+
128+
#### Library
129+
130+
* [stabilise `os_string_pathbuf_leak`](https://github.com/rust-lang/rust/pull/137992)
131+
* [stabilize `const_eq_ignore_ascii_case`](https://github.com/rust-lang/rust/pull/142065)
132+
* [stabilize `nonnull_provenance`](https://github.com/rust-lang/rust/pull/142238)
133+
* [stabilize `sha512`, sm3` and `sm4` for x86](https://github.com/rust-lang/rust/pull/140767)
134+
* [stabilize `tcp_quickack`](https://github.com/rust-lang/rust/pull/129121)
135+
* [bootstrap: build std sans leaf frame pointers](https://github.com/rust-lang/rust/pull/141800)
136+
* [make `NonZero<char>` possible](https://github.com/rust-lang/rust/pull/141001)
137+
* [optimize `Seek::stream_len` impl for `File`](https://github.com/rust-lang/rust/pull/125087)
138+
139+
#### Clippy
140+
141+
* [`doc_suspicious_footnotes`: lint text that looks like a footnote](https://github.com/rust-lang/rust-clippy/pull/14708)
142+
* [`missing_const_for_fn`: consider constness of instance](https://github.com/rust-lang/rust-clippy/pull/14759)
143+
* [`zombie_processes`: do not complain about early early returns](https://github.com/rust-lang/rust-clippy/pull/14912)
144+
* [add new lint: `ip_constant`](https://github.com/rust-lang/rust-clippy/pull/14878)
145+
* [do not lint macro generated codes](https://github.com/rust-lang/rust-clippy/pull/14976)
146+
* [do not recurse indefinitely while checking for inner mutability](https://github.com/rust-lang/rust-clippy/pull/14965)
147+
* [fix `branches_sharing_code` suggests wrongly when dealing with macros](https://github.com/rust-lang/rust-clippy/pull/14907)
148+
* [fix `create_dir` ignores paths in suggestions](https://github.com/rust-lang/rust-clippy/pull/15011)
149+
* [fix `match_single_binding` misses curlies on type signatures](https://github.com/rust-lang/rust-clippy/pull/15017)
150+
* [fix `std_instead_of_core` FP when part of the `use` cannot be replaced](https://github.com/rust-lang/rust-clippy/pull/15016)
151+
* [fix `unnecessary_debug_formatting` FP inside `Debug` impl](https://github.com/rust-lang/rust-clippy/pull/14955)
152+
* [fix false positive for `unused_unit`](https://github.com/rust-lang/rust-clippy/pull/14962)
153+
* [fix suggestion-causes-error of `print_literal` and `write_literal`](https://github.com/rust-lang/rust-clippy/pull/14961)
154+
* [introduce `coerce_container_to_any`](https://github.com/rust-lang/rust-clippy/pull/14812)
155+
* [invert suggestion if pointer is tested for non-nullness](https://github.com/rust-lang/rust-clippy/pull/15015)
156+
* [lint reversed ordering in partial ord impl](https://github.com/rust-lang/rust-clippy/pull/14945)
157+
* [use interned strings when possible, for efficiency purposes](https://github.com/rust-lang/rust-clippy/pull/14963)
158+
159+
#### Rust-Analyzer
160+
161+
* [better parser recovery for macro calls in type bound position](https://github.com/rust-lang/rust-analyzer/pull/19933)
162+
* [add `dyn` keyword inlay hints](https://github.com/rust-lang/rust-analyzer/pull/19922)
163+
* [implement attribute completions for diagnostics module](https://github.com/rust-lang/rust-analyzer/pull/19908)
164+
* [always include quickfixes for diagnostics, even when diagnostics are disabled](https://github.com/rust-lang/rust-analyzer/pull/19935)
165+
* [do not error at impls for unsized types that do not include `where Self: Sized` items](https://github.com/rust-lang/rust-analyzer/pull/19963)
166+
* [record macro calls for fields in `ChildBySource` impls](https://github.com/rust-lang/rust-analyzer/pull/19937)
167+
* [record macro calls in signatures in `ChildBySource` impls](https://github.com/rust-lang/rust-analyzer/pull/19932)
168+
* [stabilize the "JSON is not Rust" diagnostic](https://github.com/rust-lang/rust-analyzer/pull/19949)
169+
* [stabilize unlinked file diagnostic](https://github.com/rust-lang/rust-analyzer/pull/19936)
170+
* [hir-ty: add incremental tests checking for `infer` invalidation](https://github.com/rust-lang/rust-analyzer/pull/19914)
171+
* [make `Semantics<'db, DB>` support `Semantics<'db, dyn HirDatabase>`, take two`](https://github.com/rust-lang/rust-analyzer/pull/19930)
113172

114173
### Rust Compiler Performance Triage
115174

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

313372
# Quote of the Week
314373

315-
<!-- QOTW goes here -->
374+
> Gaze not into the abyss, lest you become recognized as an ***abyss domain expert***, and they expect you keep gazing into the damn thing.
375+
376+
[Nick Mathewson on twitter](https://x.com/nickm_tor/status/860234274842324993?lang=en)
377+
378+
Thanks to [robin](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1696) for the suggestion!
316379

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

0 commit comments

Comments
 (0)