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

used_underscore_binding: do not lint on await desugaring #5535

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

ebroto
Copy link
Member

@ebroto ebroto commented Apr 26, 2020

changelog: used_underscore_binding: do not lint on await desugaring

Fixes #5360

@phansch
Copy link
Member

phansch commented Apr 28, 2020

@bors r+ thanks!

@bors
Copy link
Collaborator

bors commented Apr 28, 2020

📌 Commit fc5fc63 has been approved by phansch

@bors
Copy link
Collaborator

bors commented Apr 28, 2020

⌛ Testing commit fc5fc63 with merge 2c4d566...

@bors
Copy link
Collaborator

bors commented Apr 28, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: phansch
Pushing 2c4d566 to master...

@bors bors merged commit 2c4d566 into rust-lang:master Apr 28, 2020
@ebroto ebroto deleted the issue_5360 branch April 28, 2020 06:01
@jhpratt
Copy link
Member

jhpratt commented Jun 4, 2020

Did this not land in 1.44? I'm getting the lint on .await after updating.

@ebroto
Copy link
Member Author

ebroto commented Jun 4, 2020

@jhpratt nope, this will be part of 1.45, see here

anupdhml added a commit to tremor-rs/tremor-runtime that referenced this pull request Jun 5, 2020
Until the clippy bug generating a ton of warnings makes it to stable:
rust-lang/rust-clippy#5535

Also pin clippy checks in CI for the same rust version as the one
specified in the project rust-toolchain file

---

Fix test issues seen with 1.44 pre-emptively. We should also pin rust
versions on those CI runs now (will be done as part of a separate
cleanup).
anupdhml added a commit to tremor-rs/tremor-runtime that referenced this pull request Jun 5, 2020
Until the clippy bug generating a ton of warnings makes it to stable:
rust-lang/rust-clippy#5535

Also pin clippy checks in CI for the same rust version as the one
specified in the project rust-toolchain file

---

Fix test issues seen with 1.44 pre-emptively. We should also pin rust
versions on those CI runs now (will be done as part of a separate
cleanup).
Licenser pushed a commit to tremor-rs/tremor-runtime that referenced this pull request Jun 5, 2020
Until the clippy bug generating a ton of warnings makes it to stable:
rust-lang/rust-clippy#5535

Also pin clippy checks in CI for the same rust version as the one
specified in the project rust-toolchain file

---

Fix test issues seen with 1.44 pre-emptively. We should also pin rust
versions on those CI runs now (will be done as part of a separate
cleanup).
Erk- referenced this pull request in twilight-rs/twilight Jun 5, 2020
When the user uses a retrieval request, like getting a user by ID, the
future output is a `Result<Option<T>>`. The code to handle 404 response
status codes didn't actually exist, so it'd always either be
`Ok(Some(T))` or `Err(E)`.

This patch adds support for handling 404 responses and returning
`Ok(None)` where encountered on select retrieval routes.

Here's an example of output:

```
Getting guild member for user 1
Ok(None)
Getting guild member for user 640434332485287936
Ok(Some(Member { deaf: false, guild_id: None, hoisted_role: Non.....
```

Closes #157.

Approved-by: AEnterprise <aenterprise@aenterprise.info>
Approved-by: Valdemar Erk <valdemar@erk.io>
Merged-by: Valdemar Erk <valdemar@erk.io>
Signed-off-by: Vivian Hellyer <vivian@hellyer.dev>
Licenser pushed a commit to tremor-rs/tremor-runtime that referenced this pull request Jun 22, 2020
Until the clippy bug generating a ton of warnings makes it to stable:
rust-lang/rust-clippy#5535

Also pin clippy checks in CI for the same rust version as the one
specified in the project rust-toolchain file

---

Fix test issues seen with 1.44 pre-emptively. We should also pin rust
versions on those CI runs now (will be done as part of a separate
cleanup).
Licenser pushed a commit to tremor-rs/tremor-runtime that referenced this pull request Jun 23, 2020
Until the clippy bug generating a ton of warnings makes it to stable:
rust-lang/rust-clippy#5535

Also pin clippy checks in CI for the same rust version as the one
specified in the project rust-toolchain file

---

Fix test issues seen with 1.44 pre-emptively. We should also pin rust
versions on those CI runs now (will be done as part of a separate
cleanup).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clippy generating non-user-code warning when using generator implemented futures.
4 participants