about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-10 17:55:38 +0100
committerGitHub <noreply@github.com>2021-03-10 17:55:38 +0100
commit759204ffc417f5d1e6b56ca38d28e7c9881ce09a (patch)
treed8d70c6aa5832a0cf8f59326d71c84b3fa6d114c /compiler/rustc_mir/src/transform/coverage/debug.rs
parent49bf48a33d1a8532c57a0e6f760d9b7b88c39abf (diff)
parent76fd8d7e74a000be4d736c47b55c583d31c907d0 (diff)
downloadrust-759204ffc417f5d1e6b56ca38d28e7c9881ce09a.tar.gz
rust-759204ffc417f5d1e6b56ca38d28e7c9881ce09a.zip
Rollup merge of #82217 - m-ou-se:edition-prelude, r=nikomatsakis
Edition-specific preludes

This changes `{std,core}::prelude` to export edition-specific preludes under `rust_2015`, `rust_2018` and `rust_2021`. (As suggested in https://github.com/rust-lang/rust/issues/51418#issuecomment-395630382.) For now they all just re-export `v1::*`, but this allows us to add things to the 2021edition prelude soon.

This also changes the compiler to make the automatically injected prelude import dependent on the selected edition.

cc `@rust-lang/libs` `@djc`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions