Conversation
tesuji
reviewed
Jan 8, 2021
petrochenkov
reviewed
Jan 8, 2021
LingMan
reviewed
Jan 8, 2021
ojeda
reviewed
Jan 8, 2021
ehuss
reviewed
Jan 8, 2021
tmandry
reviewed
Jan 14, 2021
cuviper
reviewed
Jan 21, 2021
Member
|
r=me with commits squashed. Thanks! |
a9ae03f to
39e24f7
Compare
Contributor
Author
|
@Mark-Simulacrum Done. |
Member
|
@bors r+ rollup |
Collaborator
|
📌 Commit 39e24f7 has been approved by |
Collaborator
|
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jan 26, 2021
Rollup of 14 pull requests Successful merges: - rust-lang#80812 (Update RELEASES.md for 1.50.0) - rust-lang#80876 (Add `unwrap_unchecked()` methods for `Option` and `Result`) - rust-lang#80900 (Fix ICE with `ReadPointerAsBytes` validation error) - rust-lang#81191 (BTreeMap: test all borrowing interfaces and test more chaotic order behavior) - rust-lang#81195 (Account for generics when suggesting bound) - rust-lang#81299 (Fix some bugs reported by eslint) - rust-lang#81325 (typeck: Don't suggest converting LHS exprs) - rust-lang#81353 (Fix spelling in documentation for error E0207) - rust-lang#81369 (rustc_codegen_ssa: use wall time for codegen_to_LLVM_IR time-passes entry) - rust-lang#81389 (rustdoc: Document CommonMark extensions.) - rust-lang#81399 (Update books) - rust-lang#81401 (tidy: Some code cleanup.) - rust-lang#81407 (Refine "remove semicolon" suggestion in trait selection) - rust-lang#81412 (Fix assertion in `MaybeUninit::array_assume_init()` for zero-length arrays) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
m-ou-se
reviewed
Feb 6, 2021
|
|
||
| Language | ||
| ----------------------- | ||
| - [You can now use `const` values for `x` in `[x; N]` array expressions.][79270] |
Member
There was a problem hiding this comment.
Note that "const values" is not exactly right, depending on interpretation. [Vec::<i32>::new(); 10] is not accepted. It only works for actual constants, not values/expressions that are (or can be) const: e.g. [EMPTY; 10] with const EMPTY: Vec<i32> = Vec::new();.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rendered
r? @Mark-Simulacrum
cc @rust-lang/release