Skip to content

Commit 3d85084

Browse files
authored
Merge pull request #2745 from alexheretic/master
Update rustc-ap-* -> 148.0.0
2 parents 173ae0d + cd925f0 commit 3d85084

File tree

4 files changed

+40
-38
lines changed

4 files changed

+40
-38
lines changed

Cargo.lock

+34-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ env_logger = "0.5"
4747
getopts = "0.2"
4848
derive-new = "0.5"
4949
cargo_metadata = "0.5.1"
50-
rustc-ap-rustc_target = "147.0.0"
51-
rustc-ap-syntax = "147.0.0"
50+
rustc-ap-rustc_target = "148.0.0"
51+
rustc-ap-syntax = "148.0.0"
5252
failure = "0.1.1"
5353

5454
[dev-dependencies]

src/expr.rs

-2
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@ pub fn format_expr(
336336
))
337337
}
338338
}
339-
// FIXME(#2743)
340-
ast::ExprKind::ObsoleteInPlace(..) => unimplemented!(),
341339
};
342340

343341
expr_rw

src/test/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,10 @@ fn rustfmt() -> PathBuf {
900900
me.pop(); // chop of the test name
901901
me.pop(); // chop off `deps`
902902
me.push("rustfmt");
903+
assert!(
904+
me.is_file() || me.with_extension("exe").is_file(),
905+
"no rustfmt bin, try running `cargo build` before testing"
906+
);
903907
return me;
904908
}
905909

0 commit comments

Comments
 (0)