File tree 6 files changed +6
-10
lines changed
6 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1014,8 +1014,7 @@ dependencies = [
1014
1014
[[package ]]
1015
1015
name = " derivative"
1016
1016
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=fast-discriminant#fd1434ceff14441827f68505bc7f13e6d4eec6da"
1019
1018
dependencies = [
1020
1019
" proc-macro2" ,
1021
1020
" quote" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ rustc_serialize = { path = "../rustc_serialize" }
12
12
rustc_data_structures = { path = " ../rustc_data_structures" }
13
13
rustc_macros = { path = " ../rustc_macros" }
14
14
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 = " fast-discriminant " }
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ use self::ConstKind::*;
17
17
PartialEq ( bound = "" ) ,
18
18
Eq ( bound = "" ) ,
19
19
PartialOrd ( bound = "" ) ,
20
- PartialOrd = "feature_allow_slow_enum" ,
21
20
Ord ( bound = "" ) ,
22
- Ord = "feature_allow_slow_enum" ,
23
21
Hash ( bound = "" )
24
22
) ]
25
23
pub enum ConstKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ use self::RegionKind::*;
122
122
PartialEq ( bound = "" ) ,
123
123
Eq ( bound = "" ) ,
124
124
PartialOrd ( bound = "" ) ,
125
- PartialOrd = "feature_allow_slow_enum" ,
126
125
Ord ( bound = "" ) ,
127
- Ord = "feature_allow_slow_enum" ,
128
126
Hash ( bound = "" )
129
127
) ]
130
128
pub enum RegionKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -119,9 +119,7 @@ pub enum AliasKind {
119
119
PartialEq ( bound = "" ) ,
120
120
Eq ( bound = "" ) ,
121
121
PartialOrd ( bound = "" ) ,
122
- PartialOrd = "feature_allow_slow_enum" ,
123
122
Ord ( bound = "" ) ,
124
- Ord = "feature_allow_slow_enum" ,
125
123
Hash ( bound = "" )
126
124
) ]
127
125
pub enum TyKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ use std::fs;
4
4
use std:: path:: Path ;
5
5
6
6
/// 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=fast-discriminant#fd1434ceff14441827f68505bc7f13e6d4eec6da\" " ,
10
+ ] ;
8
11
9
12
/// Checks for external package sources. `root` is the path to the directory that contains the
10
13
/// workspace `Cargo.toml`.
You can’t perform that action at this time.
0 commit comments