about summary refs log tree commit diff
path: root/compiler/rustc_session/src/cgu_reuse_tracker.rs
AgeCommit message (Collapse)AuthorLines
2023-10-09Remove cgu_reuse_tracker from Sessionbjorn3-130/+0
This removes a bit of global mutable state
2023-10-09Remove an LTO dependent cgu_reuse_tracker.set_actual_reuse callbjorn3-7/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-1/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal ↵Oli Scherer-1/+0
by module
2022-08-26translations(rustc_session): migrate check_expected_reuseLuis Cardoso-12/+5
This commit migrates the errors in the function check_expected_reuse to use the new SessionDiagnostic. It also does some small refactor for the IncorrectCguReuseType to include the 'at least' word in the fluent translation file
2022-08-26translations(rustc_session): migrate 80% of the file parse.rsLuis Cardoso-1/+3
This commit migrates around 80% of the parse file to use SsessionDiagnostic We still have to migrate struct_err and struct_warn.
2022-08-26translations(rustc_session): migrate the file cgu_reuse_trackerLuis Cardoso-5/+29
This commit migrates the errors that indicates an incorrect CGU type and the fatal error that indicates that a CGU has not been correctly recorded
2022-03-24Prettify rustc_session fmt with capturing args (nfc)Jubilee Young-8/+6
2021-05-08Make `Diagnostic::span_fatal` unconditionally raise an errorJoshua Nelson-1/+1
It had no callers which didn't immediately call `raise()`, and this unifies the behavior with `Session`.
2020-08-30mv compiler to compiler/mark-0/+120