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

Add rustfix tests for mistyped_literal_suffix lint #3888

Conversation

@phansch
Copy link
Member

@phansch phansch commented Mar 15, 2019

This moves all mistyped_literal_suffix tests to their own file and
enables rustfix tests for them.

cc #3603, #2038

Based on #3887

@flip1995
Copy link
Member

@flip1995 flip1995 commented Mar 15, 2019

Rustfmt on tests/ui/mistyped_literal_suffix.rs required. After that r=me (Just merge this directly instead of #3887 first)

@phansch
Copy link
Member Author

@phansch phansch commented Mar 15, 2019

0ba45a9 should make the build pass once Clippy builds again. I'm not available until Monday so feel free to r+ once it works =)

@flip1995
Copy link
Member

@flip1995 flip1995 commented Mar 18, 2019

@bors r+

@bors
Copy link
Contributor

@bors bors commented Mar 18, 2019

📌 Commit 0ba45a9 has been approved by flip1995

@flip1995
Copy link
Member

@flip1995 flip1995 commented Mar 18, 2019

Oh wait #3893 isn't merged yet

@bors r-

@phansch
Copy link
Member Author

@phansch phansch commented Mar 18, 2019

@bors r=flip1995

@bors
Copy link
Contributor

@bors bors commented Mar 18, 2019

📌 Commit 0ba45a9 has been approved by flip1995

@bors
Copy link
Contributor

@bors bors commented Mar 18, 2019

Testing commit 0ba45a9 with merge 65ed3dd...

bors added a commit that referenced this issue Mar 18, 2019
…nd_rustfix, r=flip1995

Add rustfix tests for mistyped_literal_suffix lint

This moves all `mistyped_literal_suffix` tests to their own file and
enables rustfix tests for them.

cc #3603, #2038

Based on #3887
@bors
Copy link
Contributor

@bors bors commented Mar 18, 2019

💔 Test failed - checks-travis

phansch added 3 commits Mar 19, 2019
The moved tests were part of `tests/ui/literals.rs` before. Now they are
placed in `tests/ui/unreadable_literal.rs`, which now also runs
`rustfix` on these 4 extra let statements.
This moves all `mistyped_literal_suffix` tests to their own file and
enables rustfix tests for them.

cc rust-lang#3603, rust-lang#2038

Based on rust-lang#3887
@phansch phansch force-pushed the extract_mistyped_literal_suffix_tests_and_rustfix branch from 0ba45a9 to 0452704 Mar 19, 2019
@phansch
Copy link
Member Author

@phansch phansch commented Mar 19, 2019

@bors r=flip1995

@bors
Copy link
Contributor

@bors bors commented Mar 19, 2019

📌 Commit 0452704 has been approved by flip1995

@bors
Copy link
Contributor

@bors bors commented Mar 19, 2019

Testing commit 0452704 with merge c7d4445...

bors added a commit that referenced this issue Mar 19, 2019
…nd_rustfix, r=flip1995

Add rustfix tests for mistyped_literal_suffix lint

This moves all `mistyped_literal_suffix` tests to their own file and
enables rustfix tests for them.

cc #3603, #2038

Based on #3887
@bors
Copy link
Contributor

@bors bors commented Mar 19, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing c7d4445 to master...

@bors bors merged commit 0452704 into rust-lang:master Mar 19, 2019
3 checks passed
3 checks passed
@travis-ci[bot]
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
@bors
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants