Skip to content

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented Aug 23, 2019

cc #4432

changelog: none

@phansch
Copy link
Contributor

phansch commented Aug 23, 2019

Retriggering the build

@phansch phansch closed this Aug 23, 2019
@phansch phansch reopened this Aug 23, 2019
@tesuji tesuji force-pushed the fix-format branch 2 times, most recently from b390aef to 7e7100f Compare August 23, 2019 08:02
@phansch
Copy link
Contributor

phansch commented Aug 23, 2019

@lzutao looks like only some dogfood tests need to be fixed: https://travis-ci.com/rust-lang/rust-clippy/jobs/227661145#L1079

error: this constant should be before the previous constant due to lexical ordering
 --> clippy_lints/src/utils/paths.rs:31:1
   |
31 | pub const FMT_ARGUMENTS_NEW_V1: [&str; 4] = ["core", "fmt", "Arguments", "new_v1"];
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::clippy-lints-internal` implied by `-D clippy::internal`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clippy_lints_internal

r=me with tests passing

@tesuji
Copy link
Contributor Author

tesuji commented Aug 23, 2019

CI is green.

@phansch
Copy link
Contributor

phansch commented Aug 23, 2019

@bors r+ thanks!

@bors
Copy link
Contributor

bors commented Aug 23, 2019

📌 Commit ab335ea has been approved by phansch

@bors
Copy link
Contributor

bors commented Aug 23, 2019

⌛ Testing commit ab335ea with merge 7a11843...

bors added a commit that referenced this pull request Aug 23, 2019
Re-factor format lint

cc #4432

changelog: none
--> $DIR/format.rs:69:18
|
LL | let _ = Some(format!("{}", a + "bar"));
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `a + "bar"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems this should be not linted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should. I forgot to removing the misleading comments.

@bors
Copy link
Contributor

bors commented Aug 23, 2019

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

@bors bors merged commit ab335ea into rust-lang:master Aug 23, 2019
@tesuji tesuji deleted the fix-format branch August 23, 2019 10:58
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