rust/compiler/rustc_errors/src
Matthias Krüger e10f924e27
Rollup merge of #99573 - tbodt:stabilize-backtrace, r=yaahc
Stabilize backtrace

This PR stabilizes the std::backtrace module. As of #99431, the std::Error::backtrace item has been removed, and so the rest of the backtrace feature is set to be stabilized.

Previous discussion can be found in #72981, #3156.

Stabilized API summary:
```rust
pub mod std {
    pub mod backtrace {
        pub struct Backtrace { }
        pub enum BacktraceStatus {
            Unsupported,
            Disabled,
            Captured,
        }
        impl fmt::Debug for Backtrace {}
        impl Backtrace {
            pub fn capture() -> Backtrace;
            pub fn force_capture() -> Backtrace;
            pub const fn disabled() -> Backtrace;
            pub fn status(&self) -> BacktraceStatus;
        }
        impl fmt::Display for Backtrace {}
    }
}
```

`@yaahc`
2022-08-10 07:21:33 +02:00
..
json Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
annotate_snippet_emitter_writer.rs dedupe 'annotate-snippets' crate versions 2022-08-02 21:07:01 +03:00
diagnostic_builder.rs errors: lint on LintDiagnosticBuilder::build 2022-07-15 16:13:47 +01:00
diagnostic.rs move DiagnosticArgFromDisplay into rustc_errors 2022-08-05 16:44:01 +00:00
emitter.rs Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
json.rs session: output-width -> diagnostic-width 2022-07-06 17:43:33 +01:00
lib.rs Rollup merge of #99573 - tbodt:stabilize-backtrace, r=yaahc 2022-08-10 07:21:33 +02:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
snippet.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
styled_buffer.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00