rust/src/test/ui/ast-json
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
..
ast-json-ice.rs Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
ast-json-noexpand-output.rs check '-Zast-json' & '-Zast-json-noexpand' to output legal JSON 2020-04-19 22:24:42 -04:00
ast-json-noexpand-output.stdout Adjusted diagnostic output so that if there is no use in a item sequence, 2022-03-03 18:58:37 -05:00
ast-json-output.rs check '-Zast-json' & '-Zast-json-noexpand' to output legal JSON 2020-04-19 22:24:42 -04:00
ast-json-output.stdout Adjusted diagnostic output so that if there is no use in a item sequence, 2022-03-03 18:58:37 -05:00