about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-10 08:01:37 +0900
committerGitHub <noreply@github.com>2021-03-10 08:01:37 +0900
commit9dc82face341121e3464a59665bc7c5b394cacc0 (patch)
treefd570f707b6a801d7f1e7fd6b72fc983184daa04 /compiler/rustc_codegen_llvm/src/attributes.rs
parent56b5393cc2cc0ac5769b00dbccbd34dc9202dd67 (diff)
parent1e4d8042fc98dd07546a0eb201517983e82f4235 (diff)
downloadrust-9dc82face341121e3464a59665bc7c5b394cacc0.tar.gz
rust-9dc82face341121e3464a59665bc7c5b394cacc0.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions