Skip to content

Commit 58d416e

Browse files
authored
Merge pull request #1061 from llogiq/twir-311
C/QotW+notable changes
2 parents 2c428dd + 6b5c177 commit 58d416e

File tree

1 file changed

+35
-33
lines changed

1 file changed

+35
-33
lines changed

drafts/2019-11-05-this-week-in-rust.md

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ If you find any errors in this week's issue, [please submit a PR](https://github
1818

1919
# Crate of the Week
2020

21-
Sadly, there was no nomination for crate of the week.
21+
This week's crate is [displaydoc](https://github.com/yaahc/displaydoc), a procedural derive macro to implement `Display` by string-interpolating the doc comment.
22+
23+
Thanks to [Willi Kappler](https://users.rust-lang.org/t/crate-of-the-week/2704/652) for the suggesion!
2224

2325
[Submit your suggestions and votes for next week][submit_crate]!
2426

@@ -42,35 +44,35 @@ If you are a Rust project owner and are looking for contributors, please submit
4244

4345
# Updates from Rust Core
4446

45-
347 pull requests were [merged in the last week][merged]
46-
47-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-10-21..2019-10-28
48-
49-
* [Don't ICE for completely unexpandable `impl Trait` types](https://github.com/rust-lang/rust/pull/65777)
50-
* [Eliminate `intersect_opt`](https://github.com/rust-lang/rust/pull/65648)
51-
* [Derive `Rustc{En,De}codable` for `TokenStream`](https://github.com/rust-lang/rust/pull/65641)
52-
* [Forbid non-`structural_match` types in const generics](https://github.com/rust-lang/rust/pull/65627)
53-
* [Turn crate store into a resolver output](https://github.com/rust-lang/rust/pull/65625)
54-
* [Simplify chalk-engine a bit](https://github.com/rust-lang/chalk/pull/264)
55-
* [Use heuristics to suggest assignment](https://github.com/rust-lang/rust/pull/65566)
56-
* [Point at associated type for some obligations](https://github.com/rust-lang/rust/pull/65288)
57-
* [Lockless `LintStore`](https://github.com/rust-lang/rust/pull/65193)
58-
* [Remove unnecessary trait bounds and derivations](https://github.com/rust-lang/rust/pull/65647)
59-
* [Change untagged_unions to not allow union fields with drop](https://github.com/rust-lang/rust/pull/62330)
60-
* [miri: Add `write_bytes` method to Memory doing bounds-checks and supporting iterators](https://github.com/rust-lang/rust/pull/65621)
61-
* [Object safe for dispatch](https://github.com/rust-lang/rust/pull/57545)
62-
* [Fix WASI sleep impl](https://github.com/rust-lang/rust/pull/65617)
63-
* [Stabilize `const_constructor`](https://github.com/rust-lang/rust/pull/65188)
64-
* [Stabilize `Option::flatten`](https://github.com/rust-lang/rust/pull/64747)
65-
* [Stabilize `#[non_exhaustive]`](https://github.com/rust-lang/rust/pull/64639) (RFC 2008)
66-
* [Make `is_power_of_two` a const function](https://github.com/rust-lang/rust/pull/65092)
67-
* [Add by-value iterator for arrays](https://github.com/rust-lang/rust/pull/62959)
68-
* [Add `Cow::`{`is_borrowed`, `is_owned`}`()`](https://github.com/rust-lang/rust/pull/65144)
69-
* [Add `[_]::`{`as_ptr_range`, `as_mut_ptr_range`}`()`](https://github.com/rust-lang/rust/pull/65806)
70-
* [Add {`String`, `Vec`}`::into_raw_parts()`](https://github.com/rust-lang/rust/pull/65705)
71-
* [Add the `matches!( $expr, $pat ) -> bool` macro](https://github.com/rust-lang/rust/pull/65479)
72-
* [Relax `ExactSizeIterator` bound on `write_bytes`](https://github.com/rust-lang/rust/pull/65704)
73-
* [rustdoc: Forward `-Z` options to rustc](https://github.com/rust-lang/rust/pull/65314)
47+
217 pull requests were [merged in the last week][merged]
48+
49+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-10-28..2019-11-04
50+
51+
* [Allow foreign exceptions to unwind through Rust code and Rust panics to unwind through FFI](https://github.com/rust-lang/rust/pull/65646)
52+
* [expand: Feature gate out-of-line modules in proc macro input](https://github.com/rust-lang/rust/pull/66078)
53+
* [Lint ignored `#[inline]` on function prototypes](https://github.com/rust-lang/rust/pull/65294)
54+
* [Improve the "try using a variant of the expected type" hint](https://github.com/rust-lang/rust/pull/65562)
55+
* [Use heuristics to recover parsing of missing `;`](https://github.com/rust-lang/rust/pull/65640)
56+
* [Point at local similarly named element and tweak references to variants](https://github.com/rust-lang/rust/pull/65421)
57+
* [Custom lifetime error for `impl` item doesn't conform to `trait`](https://github.com/rust-lang/rust/pull/65068)
58+
* [Add lint and tests for unnecessary parens around types](https://github.com/rust-lang/rust/pull/65112)
59+
* [Correct handling of type flags with `ConstValue::Placeholder`](https://github.com/rust-lang/rust/pull/65643)
60+
* [Use structured suggestion for unnecessary bounds in type aliases](https://github.com/rust-lang/rust/pull/65914)
61+
* [save-analysis: Account for async desugaring in async fn return types](https://github.com/rust-lang/rust/pull/65936)
62+
* [Switch CrateMetadata's source_map_import_info from RwLock to Once](https://github.com/rust-lang/rust/pull/65979)
63+
* [Don't use `eval_always` for miri queries used from codegen](https://github.com/rust-lang/rust/pull/65927)
64+
* [rustc: use IndexVec<DefIndex, T> instead of Vec<T>](https://github.com/rust-lang/rust/pull/65825)
65+
* [Make `promote_consts` emit the errors when required promotion fails](https://github.com/rust-lang/rust/pull/65946)
66+
* [Implement ordered/sorted iterators on `BinaryHeap`](https://github.com/rust-lang/rust/pull/65091)
67+
* [Make `*`{`const`, `mut`} `T>::offset_from` const fn](https://github.com/rust-lang/rust/pull/63810)
68+
* [Stabilize `float_to_from_bytes` feature](https://github.com/rust-lang/rust/pull/66002)
69+
* [hashbrown: Introduce `ahash-compile-time-rng` feature](https://github.com/rust-lang/hashbrown/pull/125)
70+
* [cargo: Add --filter-platform to `cargo metadata`](https://github.com/rust-lang/cargo/pull/7376)
71+
* [cargo: Fix `cargo fix` not showing colors](https://github.com/rust-lang/cargo/pull/7550)
72+
* [chalk: Remove delayed literals](https://github.com/rust-lang/chalk/pull/270)
73+
* [chalk: Add TypeName::Error variant](https://github.com/rust-lang/chalk/pull/269)
74+
* [chalk: Output multiple solutions](https://github.com/rust-lang/chalk/pull/263)
75+
* [rustdoc: Stabilize `cfg(doctest)`](https://github.com/rust-lang/rust/pull/63803)
7476

7577
## Approved RFCs
7678

@@ -153,11 +155,11 @@ Email the [Rust Community Team][community] for access.
153155

154156
# Quote of the Week
155157

156-
> …man, starting to dig through the source code of a really large open source program is so weird. It’s like wandering around a giant cathedral that’s being constantly renovated and repaired and maintained over the course of years by a giant team of invisible crafters and architects, who mostly communicate via notes and designs pinned to the walls in various places.
158+
> I did manage to get this compile in the end - does anyone else find that the process of asking the question well on a public forum organizes their thoughts well enough to solve the problem?
157159
158-
[icefoxen on their wiki](https://wiki.alopex.li/WhereRustcSpendsItsTime)
160+
[David Mason on rust-users](https://users.rust-lang.org/t/std-phantomdata-and-unused-fields-in-structs/34271/3)
159161

160-
Thanks to [Ralf Jung](https://users.rust-lang.org/t/twir-quote-of-the-week/328/717) for the suggestion!
162+
Thanks to [Daniel H-M](https://users.rust-lang.org/t/twir-quote-of-the-week/328/725) for the suggestion!
161163

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

0 commit comments

Comments
 (0)