rust/compiler
Nicholas Nethercote b0d5b442e9 Avoid DiagnosticBuilder::<T>::new calls.
The `Handler` functions that directly emit diagnostics can be more
easily implemented using `struct_foo(msg).emit()`. This mirrors
`Handler::emit_err` which just does `create_err(err).emit()`.

`Handler::bug` is not converted because of weirdness involving
conflation bugs and fatal errors with `EmissionGuarantee`. I'll fix that
later.
2023-12-15 09:42:14 +11:00
..
2023-12-05 17:52:51 -08:00
2023-12-12 14:52:05 +01:00
2023-12-12 12:28:54 +00:00
2023-12-10 10:56:22 +08:00
2023-12-12 12:28:54 +00:00
2023-12-10 10:56:22 +08:00
2023-12-09 09:30:32 +11:00
2023-12-10 10:56:22 +08:00
2023-12-11 12:53:01 +01:00