rust/compiler/rustc_query_system/src
David Wood b4ac26289f errors: AddToDiagnostic::add_to_diagnostic_with
`AddToDiagnostic::add_to_diagnostic_with` is similar to the previous
`AddToDiagnostic::add_to_diagnostic` but takes a function that can be
used by the caller to modify diagnostic messages originating from the
subdiagnostic (such as performing translation eagerly).

`add_to_diagnostic` now just calls `add_to_diagnostic_with` with an
empty closure.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-10-10 14:20:16 +01:00
..
dep_graph Allow query system to recover a HirId. 2022-10-01 15:58:42 +02:00
ich create def ids for impl traits during ast lowering 2022-09-30 15:12:01 -03:00
query Rewrite representability 2022-10-07 09:33:46 -05:00
cache.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
error.rs errors: AddToDiagnostic::add_to_diagnostic_with 2022-10-10 14:20:16 +01:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
values.rs Rewrite representability 2022-10-07 09:33:46 -05:00