about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-22 17:35:33 +0200
committerGitHub <noreply@github.com>2025-06-22 17:35:33 +0200
commit7bed341583764c7469d6bad85440e74d7081c2b7 (patch)
tree90e16e7c2c6ea6c91b8abf4f834898ade83cf0e4 /compiler/rustc_codegen_llvm/src/errors.rs
parentcab65efa2e0598903b72530b8d2cfa7bb818b6cb (diff)
parent29ce695cd4e148682b0d439cc47dd36edb494673 (diff)
downloadrust-7bed341583764c7469d6bad85440e74d7081c2b7.tar.gz
rust-7bed341583764c7469d6bad85440e74d7081c2b7.zip
Rollup merge of #142594 - mejrs:new_desugaring, r=chenyukang
Add DesugaringKind::FormatLiteral

Implements `DesugaringKind::FormatLiteral` to mark the FormatArgs desugaring of format literals. The main use for this is to stop yapping about about formatting parameters if we're not anywhere near a format literal. The other use case is to fix suggestions such as https://github.com/rust-lang/rust/issues/141350. It might also be useful for new or existing diagnostics that check whether they're in a format-like macro.

cc `@xizheyin` `@fmease`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions