Skip to content

Rustup#4388

Merged
bors merged 3 commits into
rust-lang:masterfrom
flip1995:rustup
Aug 15, 2019
Merged

Rustup#4388
bors merged 3 commits into
rust-lang:masterfrom
flip1995:rustup

Conversation

@flip1995

@flip1995 flip1995 commented Aug 15, 2019

Copy link
Copy Markdown
Member

Supersedes #4387 and #4385

This removes tests with the try! macro in them completely. There is no need for Clippy to support the try! macro, since it is deprecated now.

StmtKind got a new variant Semi, which Just Works with the author lint. Nice.

changelog: none

try macro is deprecated now, so Clippy will drop the support for it also
Lint redundant_semicolon was added to rustc
@tesuji

tesuji commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

Maybe rustup this too: rust-lang/rust#62429 .

@flip1995

Copy link
Copy Markdown
Member Author

rust-lang/rust#62429 didn't break anything, so we're good here.

@phansch

phansch commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

📌 Commit 87fa2d9 has been approved by phansch

@bors

bors commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit 87fa2d9 with merge 3fc4975...

bors added a commit that referenced this pull request Aug 15, 2019
Rustup

Supersedes #4387 and #4385

This removes tests with the `try!` macro in them completely. There is no need for Clippy to support the `try!` macro, since it is deprecated now.

[`StmtKind`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/enum.StmtKind.html) got a new variant [`Semi`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/enum.StmtKind.html#variant.Semi), which Just Works™ with the `author` lint. Nice.

changelog: none
@bors

bors commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

💔 Test failed - checks-travis

@flip1995

Copy link
Copy Markdown
Member Author

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 406: ordinal not in range(128)

Unicode breaks the changelog check 😄

@flip1995

Copy link
Copy Markdown
Member Author

@bors retry

@bors

bors commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit 87fa2d9 with merge 34457fb...

bors added a commit that referenced this pull request Aug 15, 2019
Rustup

Supersedes #4387 and #4385

This removes tests with the `try!` macro in them completely. There is no need for Clippy to support the `try!` macro, since it is deprecated now.

[`StmtKind`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/enum.StmtKind.html) got a new variant [`Semi`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/enum.StmtKind.html#variant.Semi), which Just Works with the `author` lint. Nice.

changelog: none
@bors

bors commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-travis, status-appveyor
Approved by: phansch
Pushing 34457fb to master...

@bors
bors merged commit 87fa2d9 into rust-lang:master Aug 15, 2019
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.

4 participants