rust/compiler/rustc_session/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
..
config Change process spawning to inherit the parent's signal mask by default 2022-10-20 14:53:38 -07:00
code_stats.rs rustc_session: Address all rustc::potential_query_instability lints 2023-12-03 15:05:39 +01:00
config.rs Rename many DiagCtxt and EarlyDiagCtxt locals. 2023-12-18 16:06:22 +11:00
cstore.rs Move MetadataLoader{,Dyn} to rustc_metadata. 2023-11-30 17:05:54 +11:00
errors.rs Give DiagnosticBuilder a default type. 2023-12-23 13:23:10 +11:00
filesearch.rs Remove unused FileMatch. 2023-11-30 17:05:56 +11:00
lib.rs rustc_session: Address all rustc::potential_query_instability lints 2023-12-03 15:05:39 +01:00
options.rs Rename many EarlyDiagCtxt arguments. 2023-12-18 16:06:22 +11:00
output.rs Update a comment. 2023-11-30 17:05:56 +11:00
parse.rs Give DiagnosticBuilder a default type. 2023-12-23 13:23:10 +11:00
search_paths.rs Rename many EarlyDiagCtxt arguments. 2023-12-18 16:06:22 +11:00
session.rs Give DiagnosticBuilder a default type. 2023-12-23 13:23:10 +11:00
utils.rs Move is_ascii_ident to where it's used. 2023-11-30 17:05:56 +11:00
version.rs Simplify the current_rustc_version macro. 2023-11-10 10:54:21 +11:00