mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +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.
6 lines
184 B
Text
6 lines
184 B
Text
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
|
|
|