about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJack Huey <jack.huey@umassmed.edu>2020-05-07 17:46:31 -0400
committerJack Huey <jack.huey@umassmed.edu>2020-05-07 17:46:31 -0400
commit5fa4c63be034c6229939d78174195bfbc8a524fa (patch)
tree97b55983171c81360ae089303487d2c3676a36f9
parenta24df5b3cdeb49334d6cde1c4d983b2354616824 (diff)
downloadrust-5fa4c63be034c6229939d78174195bfbc8a524fa.tar.gz
rust-5fa4c63be034c6229939d78174195bfbc8a524fa.zip
Fix nit and cargo.lock
-rw-r--r--Cargo.lock2
-rw-r--r--src/librustc_traits/chalk/lowering.rs2
-rwxr-xr-xsrc/tools/clippy/util/dev7
3 files changed, 9 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6b28f1513d2..fa777802385 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -494,7 +494,7 @@ dependencies = [
  "chalk-ir",
  "chalk-macros",
  "chalk-rust-ir",
- "ena",
+ "ena 0.13.1",
  "itertools 0.9.0",
  "petgraph",
  "rustc-hash",
diff --git a/src/librustc_traits/chalk/lowering.rs b/src/librustc_traits/chalk/lowering.rs
index 70aba31a2d3..4dc15a6b2b6 100644
--- a/src/librustc_traits/chalk/lowering.rs
+++ b/src/librustc_traits/chalk/lowering.rs
@@ -1,6 +1,6 @@
 //! Contains the logic to lower rustc types into Chalk types
 //!
-//! In many there is a 1:1 relationship between a rustc type and a Chalk type.
+//! In many cases there is a 1:1 relationship between a rustc type and a Chalk type.
 //! For example, a `SubstsRef` maps almost directly to a `Substitution`. In some
 //! other cases, such as `Param`s, there is no Chalk type, so we have to handle
 //! accordingly.
diff --git a/src/tools/clippy/util/dev b/src/tools/clippy/util/dev
new file mode 100755
index 00000000000..319de217e0d
--- /dev/null
+++ b/src/tools/clippy/util/dev
@@ -0,0 +1,7 @@
+#!/bin/sh
+CARGO_TARGET_DIR=$(pwd)/target/
+export CARGO_TARGET_DIR
+
+echo 'Deprecated! `util/dev` usage is deprecated, please use `cargo dev` instead.'
+
+cd clippy_dev && cargo run -- "$@"