Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest removing semicolon in last expression only if it's type is known #71894

Merged
merged 1 commit into from
May 5, 2020

Conversation

mibac138
Copy link
Contributor

@mibac138 mibac138 commented May 4, 2020

Fixes #67971

Is there a syntax for explicitly checking if a note doesn't exist in test output? Something like //~ !NOTE ...

I believe r? @estebank deals with diagnostics.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 4, 2020
@mibac138 mibac138 force-pushed the semicolon-not-always-helpful branch from 767a413 to d7664ba Compare May 4, 2020 20:34
@mibac138 mibac138 force-pushed the semicolon-not-always-helpful branch from d7664ba to ca72352 Compare May 5, 2020 00:08
@estebank
Copy link
Contributor

estebank commented May 5, 2020

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 5, 2020

📌 Commit ca72352 has been approved by estebank

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 5, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request May 5, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#69984 (Add Option to Force Unwind Tables)
 - rust-lang#71830 (Remove clippy from some leftover lists of "possibly failing" tools)
 - rust-lang#71894 (Suggest removing semicolon in last expression only if it's type is known)
 - rust-lang#71897 (Improve docs for embed-bitcode and linker-plugin-lto)

Failed merges:

r? @ghost
@bors bors merged commit 67a7b7a into rust-lang:master May 5, 2020
@mibac138 mibac138 deleted the semicolon-not-always-helpful branch May 5, 2020 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spurious incorrect "consider removing this semicolon" help when accessing nonexistent field
4 participants