Skip to content

Commit ebb1a0f

Browse files
authored
Merge pull request #1527 from llogiq/twir-357
C/QotW + notable changes
2 parents cf2244a + 2d7bc07 commit ebb1a0f

File tree

1 file changed

+27
-30
lines changed

1 file changed

+27
-30
lines changed

draft/2020-09-23-this-week-in-rust.md

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ Here are the wonderful submissions since the call for blog posts:
103103

104104
# Crate of the Week
105105

106-
This week's crate is [gitoxide](https://github.com/Byron/gitoxide), an idiomatic, modern, lean, fast, safe & pure Rust implementation of git.
106+
This week's crate is [cargo-about](https://crates.io/crates/cargo-about), a handy cargo subcommand to list the dependencies and their licenses!
107107

108-
Thanks again to [Vlad Frolov](https://users.rust-lang.org/t/crate-of-the-week/2704/812) for the suggestion!
108+
Thanks to [Jimuazu](https://users.rust-lang.org/t/crate-of-the-week/2704/820) for the suggestion!
109109

110110
[Submit your suggestions and votes for next week][submit_crate]!
111111

@@ -124,31 +124,28 @@ If you are a Rust project owner and are looking for contributors, please submit
124124

125125
# Updates from Rust Core
126126

127-
336 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%3A2020-09-07..2020-09-14
130-
131-
* [add rust-dev component to support rustc development](https://github.com/rust-lang/rust/pull/76332)
132-
* [properly encode spans with a dummy location and non-root `SyntaxContext`](https://github.com/rust-lang/rust/pull/76658)
133-
* [add `const_item_mutation` lint](https://github.com/rust-lang/rust/pull/75573)
134-
* [more structured suggestions for boxed trait objects instead of impl Trait on non-coerceable tail expressions](https://github.com/rust-lang/rust/pull/75608)
135-
* [add help note when using type in place of const](https://github.com/rust-lang/rust/pull/75611)
136-
* [do not promote `&mut` of a non-ZST ever](https://github.com/rust-lang/rust/pull/75585)
137-
* [chalk: simplify lowering](https://github.com/rust-lang/chalk/pull/602)
138-
* [inliner: emit storage markers for introduced arg temporaries](https://github.com/rust-lang/rust/pull/76123)
139-
* [enable the `SimplifyArmIdentity` MIR optimization at `mir-opt-level=1`](https://github.com/rust-lang/rust/pull/76308)
140-
* [stabilize `doc_alias`](https://github.com/rust-lang/rust/pull/75740)
141-
* [stabilize `core::future::`{`pending`,`ready`}](https://github.com/rust-lang/rust/pull/74328)
142-
* [add saturating methods for `Duration`](https://github.com/rust-lang/rust/pull/76114)
143-
* [add `slice::array_chunks_mut`](https://github.com/rust-lang/rust/pull/75021)
144-
* [eliminate mut reference UB in `Drop` impl for `Rc<T>`](https://github.com/rust-lang/rust/pull/76530)
145-
* [`BTreeMap` mutable iterators should not take any reference to visited nodes during iteration](https://github.com/rust-lang/rust/pull/73971)
146-
* [`BTreeMap`: move up reference to map's root from `NodeRef`](https://github.com/rust-lang/rust/pull/74437)
147-
* [add `drain_filter` method to `HashMap` and `HashSet`](https://github.com/rust-lang/rust/pull/76458)
148-
* [arch: AVX512F](https://github.com/rust-lang/stdarch/pull/896)
149-
* [add `MaybeUninit::assume_init_drop`](https://github.com/rust-lang/rust/pull/76484)
150-
* [remove internal and unstable `MaybeUninit::UNINIT`](https://github.com/rust-lang/rust/pull/76527)
151-
* [cargo: fix non-determinism with new feature resolver](https://github.com/rust-lang/cargo/pull/8701)
127+
373 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%3A2020-09-14..2020-09-21
130+
131+
* [let user see the full type of type-length limit error](https://github.com/rust-lang/rust/pull/76843)
132+
* [don't allow implementing trait directly on `type-alias-impl-trait`](https://github.com/rust-lang/rust/pull/76940)
133+
* [give *even better* suggestion when matching a const range](https://github.com/rust-lang/rust/pull/76749)
134+
* [introduce a `PartitioningCx` struct](https://github.com/rust-lang/rust/pull/76694)
135+
* [initial support for `riscv32gc_unknown_linux_gnu`](https://github.com/rust-lang/rust/pull/76048)
136+
* [note when a a move/borrow error is caused by a deref coercion](https://github.com/rust-lang/rust/pull/75304)
137+
* [new MIR optimization pass to reduce branches on match of tuples of enums](https://github.com/rust-lang/rust/pull/75119)
138+
* [improve diagnostics for lifetime after `&mut`](https://github.com/rust-lang/rust/pull/73595)
139+
* [implement a generic Destination Propagation optimization on MIR](https://github.com/rust-lang/rust/pull/72632)
140+
* [miri: support non-rlib extern files](https://github.com/rust-lang/miri/pull/1557)
141+
* [add `as_str()` to `string::Drain`](https://github.com/rust-lang/rust/pull/76525)
142+
* [make all methods of `Duration` unstably const](https://github.com/rust-lang/rust/pull/76335)
143+
* [add `[T; N]: TryFrom<Vec<T>>`](https://github.com/rust-lang/rust/pull/76310)
144+
* [stabilize some `Result` methods as const](https://github.com/rust-lang/rust/pull/76136)
145+
* [stabilize some `Option` methods as const](https://github.com/rust-lang/rust/pull/76135)
146+
* [avoid useless `sift_down` when `std::collections::binary_heap::PeekMut` is never mutably dereferenced](https://github.com/rust-lang/rust/pull/75974)
147+
* [futures: implement `try_take_while`](https://github.com/rust-lang/futures-rs/pull/2212)
148+
* [clippy: change the criteria of `interior_mutable_const`](https://github.com/rust-lang/rust-clippy/pull/6046)
152149

153150
## Rust Compiler Performance Triage
154151

@@ -230,11 +227,11 @@ Email the [Rust Community Team][community] for access.
230227

231228
# Quote of the Week
232229

233-
> When you have a lifetime `<'a>` on a struct, that lifetime denotes references to values stored *outside* of the struct. If you try to store a reference that points inside the struct rather than outside, you will run into a compiler error when the compiler notices you **lied** to it.
230+
> Sometimes you don't *want* the code to compile. The compiler's job is often to tell you that your code doesn't compile, rather than trying to find some meaning that allows compiling your code.
234231
235-
- [Alice Ryhl on rust-users](https://users.rust-lang.org/t/how-to-resolve-error-e0499-cannot-borrow-as-mutable-more-than-once-at-a-time-in-this-case/48815/3)
232+
- [Josh Triplett on rust-internals](https://internals.rust-lang.org/t/pre-rfc-returning-automatically-generating-impl-trait/13090/11)
236233

237-
Thanks to [Tom Phinney](https://users.rust-lang.org/t/twir-quote-of-the-week/328/939) for the suggestion!
234+
Thanks to [Jacob Pratt](https://users.rust-lang.org/t/twir-quote-of-the-week/328/943) for the suggestion!
238235

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

0 commit comments

Comments
 (0)