Nicholas Nethercote
9a78412511
Split Handler::emit_diagnostic
in two.
...
Currently, `emit_diagnostic` takes `&mut self`.
This commit changes it so `emit_diagnostic` takes `self` and the new
`emit_diagnostic_without_consuming` function takes `&mut self`.
I find the distinction useful. The former case is much more common, and
avoids a bunch of `mut` and `&mut` occurrences. We can also restrict the
latter with `pub(crate)` which is nice.
2023-12-15 10:13:12 +11:00
..
2023-12-02 09:01:34 +11:00
2023-12-05 17:52:51 -08:00
2023-12-12 14:52:05 +01:00
2023-12-12 14:42:04 +01:00
2023-12-12 14:42:04 +01:00
2023-12-11 20:46:49 +01:00
2023-12-02 09:01:35 +11:00
2023-12-15 10:13:12 +11:00
2023-12-14 15:53:55 +11:00
2023-12-11 14:33:16 +00:00
2023-12-11 18:48:49 +01:00
2023-12-14 15:53:55 +11:00
2023-12-15 10:13:12 +11:00
2023-12-15 10:13:12 +11:00
2023-12-10 10:56:22 +08:00
2023-12-11 11:20:55 +01:00
2023-12-10 13:03:28 -08:00
2023-12-15 10:13:12 +11:00
2023-12-15 10:13:12 +11:00
2023-12-10 13:03:28 -08:00
2023-12-08 19:13:57 +00:00
2023-12-12 12:28:54 +00:00
2023-12-10 10:56:22 +08:00
2023-12-15 10:13:12 +11:00
2023-12-10 10:56:22 +08:00
2023-12-12 12:20:54 +00:00
2023-12-10 10:56:22 +08:00
2023-12-09 09:30:32 +11:00
2023-12-11 14:33:16 +00:00
2023-12-12 17:40:53 +01:00
2023-12-12 12:29:30 +00:00
2023-12-10 10:56:22 +08:00
2023-12-11 17:21:14 +00:00
2023-12-15 09:42:14 +11:00
2023-12-11 20:46:50 +01:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:53:55 +11:00
2023-12-08 06:44:42 +01:00
2023-12-08 17:44:01 +00:00
2023-12-15 10:13:12 +11:00
2023-12-05 01:15:21 +00:00
2023-12-11 12:53:01 +01:00
2023-12-08 14:26:03 +00:00
2023-12-15 10:13:12 +11:00
2023-12-12 17:40:53 +01:00
2023-12-15 09:42:14 +11:00
2023-12-12 06:52:51 +01:00
2023-12-11 14:33:16 +00:00
2023-12-10 10:17:28 +00:00
2023-12-09 08:41:50 +00:00
2023-12-12 18:20:37 +00:00
2023-12-07 17:52:51 +01:00
2023-12-11 08:07:20 +00:00
2023-12-12 01:09:12 +00:00
2023-12-12 06:52:51 +01:00