Matthias Krüger
f074bbff7a
Rollup merge of #139374 - oli-obk:const-trait-bound, r=compiler-errors
...
Use the span of the whole bound when the diagnostic talks about a bound
While it makes sense that the host predicate only points to the `~const` part, as whether the actual trait bound is satisfied is checked separately, the user facing diagnostic is talking about the entire trait bound, at which point it makes more sense to just highlight the entire bound
r? `@compiler-errors` or `@fee1-dead`
2025-04-04 21:55:00 +02:00
..
2025-03-29 12:21:51 +01:00
2025-04-03 21:18:30 +02:00
2025-04-03 10:23:03 +11:00
2025-04-03 07:39:08 +02:00
2025-04-03 10:23:03 +11:00
2025-03-25 16:48:03 +11:00
2025-04-04 21:54:59 +02:00
2025-04-01 16:07:23 +11:00
2025-04-04 11:59:59 +00:00
2025-04-04 08:02:05 +02:00
2025-04-04 08:02:05 +02:00
2025-04-04 08:02:05 +02:00
2025-04-03 09:17:55 +00:00
2025-04-02 19:58:35 +08:00
2025-04-04 08:02:05 +02:00
2025-03-25 16:48:03 +11:00
2025-04-03 09:17:55 +00:00
2025-04-02 06:20:35 +11:00
2025-04-03 07:39:05 +02:00
2025-04-04 01:35:52 +00:00
2025-04-04 21:55:00 +02:00
2025-04-03 10:23:03 +11:00
2025-04-03 21:18:30 +02:00
2025-03-24 15:02:09 +00:00
2025-04-03 18:55:53 +00:00
2025-04-03 21:18:30 +02:00
2025-04-03 21:18:30 +02:00
2025-04-03 09:22:21 +00:00
2025-03-31 15:47:26 -04:00
2025-04-04 08:02:05 +02:00
2025-04-04 21:54:58 +02:00
2025-04-03 21:18:30 +02:00
2025-04-03 19:17:33 +00:00
2025-04-01 09:25:12 +00:00
2025-04-03 14:59:39 +03:00
2025-04-03 21:18:28 +02:00
2025-04-03 09:22:21 +00:00
2025-04-03 09:22:21 +00:00
2025-03-25 12:40:02 +03:00
2025-04-02 07:35:05 +02:00
2025-04-02 07:35:05 +02:00
2025-04-02 22:52:45 +09:00
2025-03-30 22:53:21 +00:00
2025-04-04 01:35:52 +00:00
2025-04-04 01:35:52 +00:00
2025-03-30 22:53:21 +00:00
2025-04-04 15:45:03 +00:00
2025-04-04 08:02:08 +02:00
2025-03-24 16:57:07 +00:00
2025-04-04 08:52:02 +00:00
2025-03-28 12:14:09 +00:00