Felix S. Klock II
d37da1e332
Adjusted diagnostic output so that if there is no use
in a item sequence,
...
then we just suggest the first legal position where you could inject a use.
To do this, I added `inject_use_span` field to `ModSpans`, and populate it in
parser (it is the span of the first token found after inner attributes, if any).
Then I rewrote the use-suggestion code to utilize it, and threw out some stuff
that is now unnecessary with this in place. (I think the result is easier to
understand.)
Then I added a test of issue 87613.
2022-03-03 18:58:37 -05:00
..
2022-03-03 18:58:37 -05:00
2022-03-03 18:58:37 -05:00
2022-02-25 08:00:52 -05:00
2022-03-01 14:29:12 +01:00
2022-03-03 01:09:11 +01:00
2022-03-03 18:58:37 -05:00
2022-03-02 09:45:25 -06:00
2022-03-02 09:45:25 -06:00
2022-03-03 01:09:15 +01:00
2022-03-03 01:09:12 +01:00
2022-03-03 12:56:24 +00:00
2022-03-02 05:32:00 +00:00
2022-03-02 09:45:25 -06:00
2022-03-02 10:09:02 -03:00
2022-03-02 09:45:25 -06:00
2022-03-03 18:45:25 -05:00
2022-02-24 18:50:33 -08:00
2022-03-01 20:02:47 +08:00
2022-02-24 22:54:36 +03:00
2022-03-02 09:45:25 -06:00
2022-02-24 16:02:07 -05:00
2022-03-02 16:02:37 -03:00
2022-03-03 01:09:12 +01:00
2022-02-24 17:01:01 +11:00
2022-03-02 18:02:06 +01:00
2022-03-02 08:48:33 +00:00
2022-03-02 09:45:25 -06:00
2022-03-03 18:45:25 -05:00
2022-03-03 12:56:24 +00:00
2022-03-02 09:45:25 -06:00
2022-02-26 07:52:42 +01:00
2022-03-03 12:56:24 +00:00
2022-03-02 09:45:25 -06:00
2022-03-03 18:58:37 -05:00
2022-03-01 03:41:52 +01:00
2022-02-25 08:00:52 -05:00
2022-02-27 14:04:07 +00:00
2022-03-02 09:45:25 -06:00
2022-03-03 18:58:37 -05:00
2022-02-25 08:00:52 -05:00
2022-03-02 09:45:25 -06:00
2022-02-28 08:25:26 +00:00
2022-03-01 12:00:43 +01:00
2022-02-28 11:54:17 +00:00
2022-03-02 09:45:25 -06:00
2022-03-02 09:45:25 -06:00
2022-03-03 01:09:08 +01:00