about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-11 16:30:59 +0000
committerbors <bors@rust-lang.org>2022-09-11 16:30:59 +0000
commit0d56e340472882fa673d4b98d0802b9a799879d0 (patch)
tree08fde05896e69a50926274fbd1854d6c04858679 /compiler/rustc_codegen_gcc/src/errors.rs
parent17a627fe876ded260d5563751d8d1530275e1c55 (diff)
parent156717d3e5d3010cc78cdd1b401f70c264016b41 (diff)
downloadrust-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