rust/compiler/rustc_trait_selection/src
Guillaume Gomez 7bed341583
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`
2025-06-22 17:35:33 +02:00
..
error_reporting Rollup merge of #142594 - mejrs:new_desugaring, r=chenyukang 2025-06-22 17:35:33 +02:00
errors Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
solve trait_sel: extend fast path with sized hierarchy 2025-06-16 23:04:35 +00:00
traits Rollup merge of #142458 - oli-obk:dyn-incompat, r=compiler-errors 2025-06-22 17:35:32 +02:00
errors.rs Make E0621 missing lifetime suggestion verbose 2025-06-09 19:55:00 +00:00
infer.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
lib.rs Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
opaque_types.rs Rename unpack to kind 2025-05-27 11:14:45 +00:00
regions.rs Only use implied bounds hack if bevy, and use deeply normalize in implied bounds hack 2025-03-04 18:18:48 +00:00
solve.rs confusings 2025-04-29 18:55:21 +01:00