Skip to content

Commit 844d319

Browse files
Optimize eq
1 parent d746ded commit 844d319

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
@@ -12,4 +12,4 @@ rustc_serialize = { path = "../rustc_serialize" }
1212
rustc_data_structures = { path = "../rustc_data_structures" }
1313
rustc_macros = { path = "../rustc_macros" }
1414
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
15-
derivative = "2.2.0"
15+
derivative = { git = "https://github.com/compiler-errors/rust-derivative.git", branch = "eq" }

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)