Skip to content

Commit 15c2b78

Browse files
Optimize eq
1 parent 9caa06e commit 15c2b78

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,8 +1014,7 @@ dependencies = [
10141014
[[package]]
10151015
name = "derivative"
10161016
version = "2.2.0"
1017-
source = "registry+https://github.com/rust-lang/crates.io-index"
1018-
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
1017+
source = "git+https://github.com/compiler-errors/rust-derivative.git?branch=eq#2be4507055fee1bb6e13b1d00dd6807afca53ecd"
10191018
dependencies = [
10201019
"proc-macro2",
10211020
"quote",

compiler/rustc_type_ir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ edition = "2021"
66
[dependencies]
77
# tidy-alphabetical-start
88
bitflags = "1.2.1"
9+
derivative = { git = "https://github.com/compiler-errors/rust-derivative.git", branch = "eq" }
910
rustc_data_structures = { path = "../rustc_data_structures" }
1011
rustc_index = { path = "../rustc_index" }
1112
rustc_macros = { path = "../rustc_macros" }
1213
rustc_serialize = { path = "../rustc_serialize" }
1314
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
14-
derivative = "2.2.0"
1515
# tidy-alphabetical-end

src/tools/tidy/src/extdeps.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ use std::fs;
44
use std::path::Path;
55

66
/// List of allowed sources for packages.
7-
const ALLOWED_SOURCES: &[&str] = &["\"registry+https://github.com/rust-lang/crates.io-index\""];
7+
const ALLOWED_SOURCES: &[&str] = &[
8+
"\"registry+https://github.com/rust-lang/crates.io-index\"",
9+
"\"git+https://github.com/compiler-errors/rust-derivative.git?branch=eq#2be4507055fee1bb6e13b1d00dd6807afca53ecd\"",
10+
];
811

912
/// Checks for external package sources. `root` is the path to the directory that contains the
1013
/// workspace `Cargo.toml`.

0 commit comments

Comments
 (0)