about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
AgeCommit message (Collapse)AuthorLines
2025-03-30Remove attribute `#[rustc_error]`Vadim Petrochenkov-14/+0
2025-03-21Move some calls to before calling codegen_cratebjorn3-6/+0
`--emit mir`, `#[rustc_symbol_name]` and `#[rustc_def_path]` now run before codegen and thus work even if codegen fails. This can help with debugging.
2025-02-21fix: naming convention "ferris" suggestion for idents named 🦀Nikita Revenco-1/+2
test: add tests for correct ferris capitalization fix: add "struct" style: use rustfmt style: remove newline fix: _ _ _ _ _
2025-02-17Move `rustc_middle::limits` to `rustc_interface`.Nicholas Nethercote-0/+10
It's always good to make `rustc_middle` smaller. `rustc_interface` is the best destination, because it's the only crate that calls `get_recursive_limit`.
2025-02-15Reject macro calls inside of `#![crate_name]`León Orell Valerian Liehr-0/+15
2025-01-28ABI-required target features: warn when they are missing in base CPU (rather ↵Ralf Jung-0/+9
than silently enabling them)
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-03-13Make incremental sessions identity no longer depend on the crate names ↵John Kåre Alsaker-9/+0
provided by source code
2023-06-06Write to stdout if `-` is given as output fileJing Peng-0/+4
If `-o -` or `--emit KIND=-` is provided, output will be written to stdout instead. Binary output (`obj`, `llvm-bc`, `link` and `metadata`) being written this way will result in an error unless stdout is not a tty. Multiple output types going to stdout will trigger an error too, as they will all be mixded together.
2023-02-22Remove a back compat warningOli Scherer-4/+0
2023-01-30session: diagnostic migration lint on more fnsDavid Wood-0/+21
Apply the diagnostic migration lint to more functions on `Session`. Signed-off-by: David Wood <david.wood@huawei.com>
2023-01-13Warn when using panic-strategy abort for proc-macro cratesLukas Wirth-0/+4
2022-10-23Migrate all diagnosticsNilstrieb-14/+14
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-15/+15
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-15/+15
2022-08-22Remove use of DiagnosticArgFromDisplayGiacomo Stevanato-10/+12
2022-08-22Move rustc_interface diagnostics to struct SessionDiagnostic derivesGiacomo Stevanato-0/+68
2022-08-22Move existing diagnostic struct to a new errors moduleGiacomo Stevanato-0/+19