-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Open
Labels
B-MCP-approvedBlocker: Approved by an accepted MCP but not yet fully implemented.Blocker: Approved by an accepted MCP but not yet fully implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
This is a tracking issue for MCP "Remove the fluent files" (rust-lang/compiler-team#959).
Note
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports.
Instead, open a dedicated issue for the specific matter, link to this tracking issue and ping the MCP author.
Alternatively, post in the Zulip stream linked from the MCP.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Implement the MCP
- Adjust documentation
- In the Rust Compiler Development Guide if applicable (e.g., for refactorings)
- In the Rust Forge if applicable (e.g., for policy changes)
- In the rustc book if applicable (e.g., for target tier or CLI changes)
Unresolved questions
- Repair functionality for
-Ztranslate-additional-ftl - How do we format very long / multiline diagnostics in a pretty way? Convert to inline diagnostics in
rustc_incremental#152044 (comment) - Bikeshed the name of the
inline_fluentmacro - See if we can make
inline_fluenthandle arguments Convert to inline diagnostics inrustc_errors#152109 (comment) - See if we can do something about We have quite different APIs for emitting a lint vs a hard error #121077
- whether it'd be nice to use r#"" strings when the parts of the error message needs escaping
- Detect duplicate messages in the same crate and extract them to a const
- Rename session_diagnostics.rs to diagnostics.rs
Implementation history
- Remove the diagnostic lints #150879
- Remove
DiagMessage::Translatedin favour ofDiagMessage::Str#151326 - Factor out diagnostic slug checking from
DiagnosticDerive#151338 - Rewrite the
#[derive(Diagnostic)]macro #151587 - Add
extern crate coreto diagnostic tests #151738 - Cleanup of
#[derive(Diagnostic)]attribute parsers #151657 - Add inline syntax for diagnostic messages #151872
- Convert to inline diagnostics in
rustc_attr_parsing#151944 - Convert to inline diagnostics in
rustc_driver_impl#152028 - Convert to inline diagnostics in
rustc_query_system#152041 - Convert to inline diagnostics in
rustc_incremental#152044 - Convert to inline diagnostics in
rustc_infer#152045 - Convert to inline diagnostics in
rustc_interface#152047 - Convert to inline diagnostics in
rustc_ty_utils#152065 - Convert to inline diagnostics in
rustc_session#152066 - Convert to inline diagnostics in
rustc_resolve#152068 - Convert to inline diagnostics in
rustc_privacy#152069 - Convert to inline diagnostics in
rustc_pattern_analysis#152070 - Convert to inline diagnostics in
rustc_monomorphize#152072 - Convert to inline diagnostics in
rustc_mir_dataflow#152073 - Convert to inline diagnostics in all codegen backends #152102
- Convert to inline diagnostics in
rustc_ast_lowering#152105 - Convert to inline diagnostics in
rustc_ast_passes#152106 - Convert to inline diagnostics in
rustc_borrowck#152107 - Convert to inline diagnostics in
rustc_expand#152108 - Convert to inline diagnostics in
rustc_errors#152109 - Convert to inline diagnostics in
rustc_mir_transform#152114 - Convert to inline diagnostics in
rustc_trait_selection#152117 - Convert to inline diagnostics in
rustc_codegen_ssa#152118 - Convert to inline diagnostics in
rustc_metadata#152115 - Convert to inline diagnostics in
rustc_middle#152119 - Convert to inline diagnostics in
rustc_builtin_macros#152121 - Convert to inline diagnostics in
rustc_mir_build#152126 - Hard code DEFAULT_LOCALE_RESOURCES in rustc_interface #152137
- Convert to inline diagnostics in
rustc_hir_typeck#152142 - Convert to inline diagnostics in
rustc_passes#152189 - Convert to inline diagnostics in
rustc_const_eval#152186 - Convert to inline diagnostics in
rustc_hir_analysis#152191 - Convert to inline diagnostics in
rustc_lint#152217 - Convert to inline diagnostics in
rustc_parse#152235 - Convert diagnostic style checks #152252
- Cleanup after removing all fluent files #152250
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
B-MCP-approvedBlocker: Approved by an accepted MCP but not yet fully implemented.Blocker: Approved by an accepted MCP but not yet fully implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.