File tree Expand file tree Collapse file tree 6 files changed +6
-10
lines changed
Expand file tree Collapse file tree 6 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1014,8 +1014,7 @@ dependencies = [
10141014[[package ]]
10151015name = " derivative"
10161016version = " 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"
10191018dependencies = [
10201019 " proc-macro2" ,
10211020 " quote" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ rustc_serialize = { path = "../rustc_serialize" }
1212rustc_data_structures = { path = " ../rustc_data_structures" }
1313rustc_macros = { path = " ../rustc_macros" }
1414smallvec = { 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::*;
1717 PartialEq ( bound = "" ) ,
1818 Eq ( bound = "" ) ,
1919 PartialOrd ( bound = "" ) ,
20- PartialOrd = "feature_allow_slow_enum" ,
2120 Ord ( bound = "" ) ,
22- Ord = "feature_allow_slow_enum" ,
2321 Hash ( bound = "" )
2422) ]
2523pub enum ConstKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ use self::RegionKind::*;
122122 PartialEq ( bound = "" ) ,
123123 Eq ( bound = "" ) ,
124124 PartialOrd ( bound = "" ) ,
125- PartialOrd = "feature_allow_slow_enum" ,
126125 Ord ( bound = "" ) ,
127- Ord = "feature_allow_slow_enum" ,
128126 Hash ( bound = "" )
129127) ]
130128pub enum RegionKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -119,9 +119,7 @@ pub enum AliasKind {
119119 PartialEq ( bound = "" ) ,
120120 Eq ( bound = "" ) ,
121121 PartialOrd ( bound = "" ) ,
122- PartialOrd = "feature_allow_slow_enum" ,
123122 Ord ( bound = "" ) ,
124- Ord = "feature_allow_slow_enum" ,
125123 Hash ( bound = "" )
126124) ]
127125pub enum TyKind < I : Interner > {
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ use std::fs;
44use 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=fast-discriminant#fd1434ceff14441827f68505bc7f13e6d4eec6da\" " ,
10+ ] ;
811
912/// Checks for external package sources. `root` is the path to the directory that contains the
1013/// workspace `Cargo.toml`.
You can’t perform that action at this time.
0 commit comments