about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/tests.rs
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-03-23 07:34:20 +0000
committerDavid Wood <david.wood@huawei.com>2022-04-05 06:53:39 +0100
commit8c684563a59900d96a4fcadd41e5e92074c13df1 (patch)
tree6ca30a8bac58d182007db189d32231d159013071 /compiler/rustc_expand/src/tests.rs
parenta22cf2af0510b3ec4cbb19c3de11d3d8291349d9 (diff)
downloadrust-8c684563a59900d96a4fcadd41e5e92074c13df1.tar.gz
rust-8c684563a59900d96a4fcadd41e5e92074c13df1.zip
errors: introduce `DiagnosticMessage`
Introduce a `DiagnosticMessage` type that will enable diagnostic
messages to be simple strings or Fluent identifiers.
`DiagnosticMessage` is now used in the implementation of the standard
`DiagnosticBuilder` APIs.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_expand/src/tests.rs')
0 files changed, 0 insertions, 0 deletions