Skip to content

Commit

Permalink
Fix nit and cargo.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed May 7, 2020
1 parent a24df5b commit 5fa4c63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ dependencies = [
"chalk-ir",
"chalk-macros",
"chalk-rust-ir",
"ena",
"ena 0.13.1",
"itertools 0.9.0",
"petgraph",
"rustc-hash",
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_traits/chalk/lowering.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 7 additions & 0 deletions src/tools/clippy/util/dev
Original file line number Diff line number Diff line change
@@ -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 -- "$@"

0 comments on commit 5fa4c63

Please sign in to comment.