Rollup merge of #58842 - mati865:53005, r=alexcrichton

Forbid duplicating Cargo as a dependency

Fixes https://github.com/rust-lang/rust/issues/53005
This commit is contained in:
kennytm 2019-03-02 17:39:26 +08:00
commit c835a0a94d
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -378,7 +378,7 @@ fn check_crate_duplicate(resolve: &Resolve, bad: &mut bool) {
// to accidentally sneak into our dependency graph, in order to ensure we keep our CI times
// under control.
// "cargo", // FIXME(#53005)
"cargo",
"rustc-ap-syntax",
];
let mut name_to_id: HashMap<_, Vec<_>> = HashMap::new();