mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
ad5d7f43c9
- Make it more closely match `rustc_errors::Diagnostic`, by making the
field names match, and adding `children`, which requires adding
`rustc_codegen_ssa:🔙:write::Subdiagnostic`.
- Check that we aren't missing important info when converting
diagnostics.
- Add better comments.
- Tweak `rustc_errors::Diagnostic::replace_args` so that we don't need
to do any cloning when converting diagnostics.
7 lines
184 B
Plaintext
7 lines
184 B
Plaintext
error: cannot prefer dynamic linking when performing LTO
|
|
|
|
|
= note: only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
|
|
|
|
error: aborting due to 1 previous error
|
|
|