Nicholas Nethercote
2e7de1a924
Reduce scope of AstValidator::with_* calls.
...
`AstValidator` has several `with_*` methods, each one setting a field
that adjust how checking takes place for items within certain other
items. E.g. `with_in_trait_impl` is used to adjust the checking done on
items inside an `impl` item. Weirdly, the scopes used for most of the
`with_*` calls are very broad, and include things that aren't "inside"
the item, such as visibility, unsafety, and constness.
This commit minimizes the scope of these `with_*` calls so they only
apply to the things inside the item.
2025-04-02 15:43:11 +11:00
..
2025-03-29 12:21:51 +01:00
2025-04-01 14:08:57 +11:00
2025-03-20 08:59:43 +11:00
2025-04-01 14:08:57 +11:00
2025-04-02 15:43:11 +11:00
2025-04-01 14:08:57 +11:00
2025-03-19 17:37:35 +01:00
2025-03-25 16:48:03 +11:00
2025-03-28 10:15:23 +11:00
2025-04-01 16:07:23 +11:00
2025-03-30 15:43:48 +00:00
2025-03-28 10:18:32 +00:00
2025-03-30 02:21:56 +00:00
2025-03-31 09:44:41 +02:00
2025-03-21 06:56:47 +01:00
2025-03-26 15:46:05 +01:00
2025-03-23 19:08:54 +08:00
2025-03-25 16:48:03 +11:00
2025-03-13 11:28:35 +01:00
2025-03-27 18:29:06 +00:00
2025-04-01 16:07:23 +11:00
2025-04-01 14:20:46 +00:00
2025-03-30 22:53:21 +00:00
2025-03-28 22:49:27 +01:00
2025-03-30 11:21:51 +02:00
2025-03-31 11:58:58 +00:00
2025-03-24 15:02:09 +00:00
2025-03-15 06:34:36 +00:00
2025-03-23 18:18:47 +00:00
2025-03-31 09:44:40 +02:00
2025-03-18 13:28:56 +01:00
2025-04-01 14:08:57 +11:00
2025-03-25 08:22:35 +01:00
2025-03-20 12:40:36 +11:00
2025-03-20 08:59:43 +11:00
2025-03-15 06:42:48 +00:00
2025-04-01 10:40:06 +00:00
2025-03-31 23:05:47 +02:00
2025-03-28 12:21:21 +00:00
2025-03-27 17:45:18 +00:00
2025-03-27 15:57:25 +11:00
2025-03-26 04:39:38 +00:00
2025-04-01 14:20:46 +00:00
2025-03-23 07:30:18 +01:00
2025-04-01 07:21:28 +00:00
2025-03-20 14:31:34 +00:00
2025-03-25 12:40:02 +03:00
2025-03-26 13:09:36 +01:00
2025-03-30 22:53:21 +00:00
2025-04-01 07:21:28 +00:00
2025-03-30 22:53:21 +00:00
2025-03-20 08:59:50 +11:00
2025-03-31 09:44:40 +02:00
2025-03-20 08:59:43 +11:00
2025-04-01 07:34:23 +11:00
2025-03-30 22:53:21 +00:00
2025-03-31 23:05:43 +02:00
2025-03-31 14:36:20 +02:00
2025-03-18 07:17:16 +00:00
2025-03-24 16:57:07 +00:00
2025-03-26 04:39:38 +00:00
2025-03-15 06:34:36 +00:00
2025-03-28 12:14:09 +00:00