Files
rust/compiler/rustc_middle/src
Nicholas Nethercote 757d6f6ef8 Give DiagnosticBuilder a default type.
`IntoDiagnostic` defaults to `ErrorGuaranteed`, because errors are the
most common diagnostic level. It makes sense to do likewise for the
closely-related (and much more widely used) `DiagnosticBuilder` type,
letting us write `DiagnosticBuilder<'a, ErrorGuaranteed>` as just
`DiagnosticBuilder<'a>`. This cuts over 200 lines of code due to many
multi-line things becoming single line things.
2023-12-23 13:23:10 +11:00
..
2023-11-16 16:49:22 +11:00
2023-11-01 16:49:18 +00:00
2023-11-29 03:58:29 +01:00
2023-12-23 13:23:10 +11:00
2023-12-12 01:09:12 +00:00
2023-12-23 13:18:50 +11:00