rust/compiler/rustc_parse/src/parser
Xiretza c227f35a9c Generate lint diagnostic message from BuiltinLintDiag
Translation of the lint message happens when the actual diagnostic is
created, not when the lint is buffered. Generating the message from
BuiltinLintDiag ensures that all required data to construct the message
is preserved in the LintBuffer, eventually allowing the messages to be
moved to fluent.

Remove the `msg` field from BufferedEarlyLint, it is either generated
from the data in the BuiltinLintDiag or stored inside
BuiltinLintDiag::Normal.
2024-05-21 20:16:39 +00:00
..
mut_visit Move some tests from rustc_expand to rustc_parse. 2024-05-06 09:06:02 +10:00
tokenstream Move some tests from rustc_expand to rustc_parse. 2024-05-06 09:06:02 +10:00
attr.rs Remove a Span from TokenKind::Interpolated. 2024-05-13 10:30:30 +10:00
attr_wrapper.rs Simplify static_assert_sizes. 2024-04-18 15:36:25 +10:00
diagnostics.rs Clarify that the diff_marker is talking about version control system 2024-05-17 15:45:50 +02:00
expr.rs Generate lint diagnostic message from BuiltinLintDiag 2024-05-21 20:16:39 +00:00
generics.rs Parsing , pre-lowering support for precise captures 2024-04-15 16:45:01 -04:00
item.rs Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726 2024-05-18 19:35:24 +00:00
mod.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
nonterminal.rs Auto merge of #123865 - eholk:expr_2021, r=fmease 2024-05-17 21:54:14 +00:00
pat.rs Remove a Span from TokenKind::Interpolated. 2024-05-13 10:30:30 +10:00
path.rs delegation: Implement list delegation 2024-05-15 02:32:59 +03:00
stmt.rs Clarify that the diff_marker is talking about version control system 2024-05-17 15:45:50 +02:00
tests.rs Move some tests from rustc_expand to rustc_parse. 2024-05-06 09:06:02 +10:00
ty.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00