Recover from invalid struct item syntax#84793
Merged
bors merged 1 commit intorust-lang:masterfrom May 12, 2021
Merged
Conversation
Contributor
|
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
ArniDagur
reviewed
May 3, 2021
davidtwco
approved these changes
May 6, 2021
Member
davidtwco
left a comment
There was a problem hiding this comment.
r=me after @ArniDagur's comment is resolved.
This comment has been minimized.
This comment has been minimized.
3d90386 to
cddf892
Compare
Parse unsupported "default field const values":
```rust
struct S {
field: Type = const_val,
}
```
Recover from small `:` typo and provide suggestion:
```rust
struct S {
field; Type,
field2= Type,
}
```
cddf892 to
7697ce4
Compare
Contributor
Author
|
@bors r=davidtwco |
Collaborator
|
📌 Commit 7697ce4 has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
May 12, 2021
…laumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#84793 (Recover from invalid `struct` item syntax) - rust-lang#85117 (Move global click handlers to per-element ones.) - rust-lang#85141 (Update documentation for SharedContext::maybe_collapsed_doc_value) - rust-lang#85174 (Fix border radius for doc code blocks in rustdoc) - rust-lang#85205 (Update books) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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.
Parse unsupported "default field const values":
Recover from small
:typo and provide suggestion: