Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
fix(cargo): Only depend on clippy/compiletest_rs when testing
Browse files Browse the repository at this point in the history
Closes #63.
  • Loading branch information
erickt committed Jan 25, 2016
1 parent 0ff17cf commit cd53b43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ script:
travis-cargo test -- --features with-syntex &&
travis-cargo bench -- --features with-syntex &&
travis-cargo --only nightly build &&
travis-cargo --only nightly test &&
travis-cargo --only nightly test -- --features clippy &&
travis-cargo --only nightly bench &&
travis-cargo --only stable doc -- --features with-syntex
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "aster"
version = "0.10.0"
version = "0.10.1"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A libsyntax ast builder"
repository = "https://github.com/serde-rs/aster"

[features]
with-syntex = ["syntex_syntax"]
unstable = ["clippy", "compiletest_rs"]
unstable-testing = ["clippy", "compiletest_rs"]

[dependencies]
syntex_syntax = { version = "^0.26.0", optional = true }
clippy = { version = "^0.0.35", optional = true }
clippy = { version = "^0.0.37", optional = true }
compiletest_rs = { version = "^0.0.11", optional = true }

[[test]]
Expand Down
6 changes: 3 additions & 3 deletions src/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ impl<F> StmtBuilder<F>
}

pub fn build_let(self,
pat: P<ast::Pat>,
ty: Option<P<ast::Ty>>,
init: Option<P<ast::Expr>>) -> F::Result {
pat: P<ast::Pat>,
ty: Option<P<ast::Ty>>,
init: Option<P<ast::Expr>>) -> F::Result {
let local = ast::Local {
pat: pat,
ty: ty,
Expand Down

0 comments on commit cd53b43

Please sign in to comment.