León Orell Valerian Liehr
6242335fdb
Improve diagnostic for E0178 (bad + in type)
...
Namely, use a more sensical primary span.
Don't pretty-print AST nodes for the diagnostic message. Why:
* It's lossy (e.g., it doesn't replicate trailing `+`s in trait objects.
* It's prone to leak error nodes (printed as `(/*ERROR*/)`) since
the LHS can easily represent recovered code (e.g., `fn(i32?) + T`).
2025-04-15 10:08:49 +02:00
..
2025-04-03 11:08:55 +03:00
2025-04-07 19:43:41 +03:00
2025-03-29 13:30:20 +03:00
2025-04-03 11:08:55 +03:00
2025-03-21 09:35:31 +01:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-02-28 08:36:12 +11:00
2025-02-28 08:36:12 +11:00
2025-02-14 00:44:10 -08:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-15 10:08:49 +02:00
2025-04-15 10:08:49 +02:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-02-14 00:44:10 -08:00
2025-03-29 13:30:20 +03:00
2025-03-29 13:30:20 +03:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-03-25 17:33:09 +03:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-03-29 13:30:20 +03:00
2025-03-01 22:02:46 +08:00