diff options
| author | bors <bors@rust-lang.org> | 2022-09-11 16:30:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-11 16:30:59 +0000 |
| commit | 0d56e340472882fa673d4b98d0802b9a799879d0 (patch) | |
| tree | 08fde05896e69a50926274fbd1854d6c04858679 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 17a627fe876ded260d5563751d8d1530275e1c55 (diff) | |
| parent | 156717d3e5d3010cc78cdd1b401f70c264016b41 (diff) | |
| download | rust-0d56e340472882fa673d4b98d0802b9a799879d0.tar.gz rust-0d56e340472882fa673d4b98d0802b9a799879d0.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
