Skip to content

Commit e1c2d59

Browse files
authored
Merge pull request #6731 from llogiq/twir-603
C/QotW and notable changes
2 parents 44bd5cc + 0e8549f commit e1c2d59

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

7070
## Crate of the Week
7171

72-
<!-- COTW goes here -->
72+
This week's crate is [optics](https://crates.io/crates/optics), a typesafe, fully featured lens library.
73+
74+
Thanks to [Akos Vandra](https://users.rust-lang.org/t/crate-of-the-week/2704/1442) for the self-suggestion!
7375

7476
[Please submit your suggestions and votes for next week][submit_crate]!
7577

@@ -128,7 +130,64 @@ If you are an event organizer hoping to expand the reach of your event, please s
128130

129131
## Updates from the Rust Project
130132

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

133192
### Rust Compiler Performance Triage
134193

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

332391
# Quote of the Week
333392

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

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

0 commit comments

Comments
 (0)