You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft/2023-03-22-this-week-in-rust.md
+78-3Lines changed: 78 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,9 @@ and just ask the editors to select the category.
45
45
46
46
## Crate of the Week
47
47
48
-
<!-- COTW goes here -->
48
+
This week's crate is [Speedy2D](https://github.com/QuantumBadger/Speedy2D), a crate offering cross-platform Hardware-accelerated drawing of shapes, images, and text, with an easy to use API.
49
+
50
+
Thanks to [Aleksey Kladov](https://users.rust-lang.org/t/crate-of-the-week/2704/1169) for the suggestion!
49
51
50
52
[Please submit your suggestions and votes for next week][submit_crate]!
51
53
@@ -67,7 +69,76 @@ If you are a Rust project owner and are looking for contributors, please submit
67
69
68
70
## Updates from the Rust Project
69
71
70
-
<!-- Rust updates go here -->
72
+
321 pull requests were [merged in the last week][merged]
*[emit diagnostic when calling methods on the unit type in method chains](https://github.com/rust-lang/rust/pull/109116)
87
+
*[ensure `ptr::read` gets all the same LLVM `load` metadata that dereferencing does](https://github.com/rust-lang/rust/pull/109035)
88
+
*[erase escaping late-bound regions when probing for ambiguous associated types](https://github.com/rust-lang/rust/pull/109102)
89
+
*[error-msg: expand suggestion for `unused_def` lint](https://github.com/rust-lang/rust/pull/109158)
90
+
*[error-msg: impl better suggestion for `E0532`](https://github.com/rust-lang/rust/pull/108971)
91
+
*[fall back to old metadata computation when type references errors](https://github.com/rust-lang/rust/pull/109101)
92
+
*[fast path for `process_obligations`](https://github.com/rust-lang/rust/pull/108815)
93
+
*[fix `generics_of` for impl's RPITIT (Return Position Impl Trait In Trait) synthesized associated type](https://github.com/rust-lang/rust/pull/109277)
94
+
*[fix generics mismatch errors for RPITITs on -Zlower-impl-trait-in-trait-to-assoc-ty](https://github.com/rust-lang/rust/pull/109238)
95
+
*[install projection from RPITIT to default trait method opaque correctly](https://github.com/rust-lang/rust/pull/109198)
96
+
*[make fns from other crates with RPITIT work for `-Zlower-impl-trait-in-trait-to-assoc-ty`](https://github.com/rust-lang/rust/pull/108923)
97
+
*[fix object safety checks for new RPITITs](https://github.com/rust-lang/rust/pull/108909)
98
+
*[fix linker detection for clang with prefix](https://github.com/rust-lang/rust/pull/109156)
99
+
*[flatten/inline `format_args!()` and (string and int) literal arguments into `format_args!()`](https://github.com/rust-lang/rust/pull/106824)
100
+
*[implement `FixedSizeEncoding` for `UnusedGenericParams`](https://github.com/rust-lang/rust/pull/109324)
101
+
*[implement checked `Shl`/`Shr` at MIR building](https://github.com/rust-lang/rust/pull/108282)
102
+
*[only expect a GAT const param for `type_of` of GAT const arg](https://github.com/rust-lang/rust/pull/109364)
103
+
*[pass the right HIR back from `get_fn_decl`](https://github.com/rust-lang/rust/pull/109248)
*[clippy: issue function modifiers in the right order in `manual_async_fn` lint](https://github.com/rust-lang/rust-clippy/pull/10456)
134
+
*[rust-analyzer: add an autofix for inserting an unsafe block to missing unsafe diagnostic](https://github.com/rust-lang/rust-analyzer/pull/14281)
135
+
*[rust-analyzer: prioritize missing variants in match pattern completions](https://github.com/rust-lang/rust-analyzer/pull/13789)
136
+
*[rust-analyzer: allow the status bar item to be clicked again](https://github.com/rust-lang/rust-analyzer/pull/14337)
137
+
*[rust-analyzer: fix reference completions being emitted in places other than argument lists](https://github.com/rust-lang/rust-analyzer/pull/14355)
138
+
*[rust-analyzer: fix rustc proc-macro handling being broken on the rustc workspace itself](https://github.com/rust-lang/rust-analyzer/pull/14348)
139
+
*[rust-analyzer: fix visibility resolution not respecting parent blocks](https://github.com/rust-lang/rust-analyzer/pull/14349)
140
+
*[rust-analyzer: only skip adjustment hints for block, if and match expressions for reborrows](https://github.com/rust-lang/rust-analyzer/pull/14338)
@@ -215,7 +286,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
215
286
216
287
# Quote of the Week
217
288
218
-
<!-- QOTW goes here -->
289
+
> The generated program is a random sequence of bytes that just happens to take the shape of a seemingly working program by accident. Such is the joy of code that causes UB. You cannot deduce anything from what happens when you execute a program with UB, since that act is by itself meaningless. You need to establish that your program has no UB before making any inference based on what you see the program do after it came out of the compiler.
290
+
291
+
– [Ralf Jung on github](https://github.com/rust-lang/miri/issues/2807#issuecomment-1462385947)
292
+
293
+
Thanks to [bugaevc](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1381) for the suggestion!
219
294
220
295
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments