Skip to content

Commit c0dbd34

Browse files
committed
Auto merge of #4188 - matthiaskrgr:rustup_7, r=Manishearth
rustup #61669 changelog: none
2 parents 01ab9fe + abfdcec commit c0dbd34

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ matrix:
5151
# We don't want to run these always because they go towards
5252
# the build limit within the Travis rust-lang account.
5353
# The jobs are approximately sorted by execution time
54-
# disabled cargo integration test due to https://github.com/rust-lang/rust-clippy/issues/4121
54+
# disabled cargo and rls integration test due to https://github.com/rust-lang/rust-clippy/issues/4121
5555
#- env: INTEGRATION=rust-lang/cargo
5656
# if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
5757
- env: INTEGRATION=rust-lang-nursery/chalk
5858
if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
59-
- env: INTEGRATION=rust-lang/rls
60-
if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
59+
#- env: INTEGRATION=rust-lang/rls
60+
# if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
6161
- env: INTEGRATION=Geal/nom
6262
if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
6363
- env: INTEGRATION=rust-lang/rustfmt

clippy_lints/src/utils/sugg.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::convert::TryInto;
1313
use std::fmt::Display;
1414
use syntax::ast;
1515
use syntax::parse::token;
16-
use syntax::print::pprust::token_to_string;
16+
use syntax::print::pprust::token_kind_to_string;
1717
use syntax::source_map::{CharPos, Span};
1818
use syntax::util::parser::AssocOp;
1919
use syntax_pos::{BytePos, Pos};
@@ -384,7 +384,7 @@ pub fn make_assoc(op: AssocOp, lhs: &Sugg<'_>, rhs: &Sugg<'_>) -> Sugg<'static>
384384
rhs
385385
),
386386
AssocOp::Assign => format!("{} = {}", lhs, rhs),
387-
AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs),
387+
AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_kind_to_string(&token::BinOp(op)), rhs),
388388
AssocOp::As => format!("{} as {}", lhs, rhs),
389389
AssocOp::DotDot => format!("{}..{}", lhs, rhs),
390390
AssocOp::DotDotEq => format!("{}..={}", lhs, rhs),

0 commit comments

Comments
 (0)