rust/compiler/rustc_metadata
bors 0d56e34047 Auto merge of #101678 - jannic:fix-101640, r=jyn514
Add diagnostic arg 'current_crate'

With this fix, I get almost the same error message as on stable, again.

However, I expected to get the new error message `std is required by {$current_crate} because it does not declare #![no_std]`, but I didn't. Instead, I got a new line `help: consider building the standard library from source with cargo build -Zbuild-std`. So I obviously do not fully understand what is going on.

In any case, the bug itself seems to be fixed by this patch.

Closes #101640
2022-09-11 16:30:59 +00:00
..
src Auto merge of #101678 - jannic:fix-101640, r=jyn514 2022-09-11 16:30:59 +00:00
Cargo.toml move encode_and_write_metadata to rustc_metadata::fs 2022-07-02 22:51:40 +09:00