rust/compiler/rustc_resolve
Yuki Okushi 9dc82face3
Rollup merge of #82942 - m-ou-se:diagnostics-hardcoded-prelude-v1, r=estebank
Don't hardcode the `v1` prelude in diagnostics, to allow for new preludes.

Instead of looking for `std::prelude::v1`, this changes the two places where that was hardcoded to look for `std::prelude::<anything>` instead.

This is needed for https://github.com/rust-lang/rust/pull/82217.

r? `@estebank`
2021-03-10 08:01:37 +09:00
..
src Rollup merge of #82942 - m-ou-se:diagnostics-hardcoded-prelude-v1, r=estebank 2021-03-10 08:01:37 +09:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00