rust/tests/ui/async-await
Nicholas Nethercote 925f7fad57 Improve print_tts by changing tokenstream::Spacing.
`tokenstream::Spacing` appears on all `TokenTree::Token` instances,
both punct and non-punct. Its current usage:
- `Joint` means "can join with the next token *and* that token is a
  punct".
- `Alone` means "cannot join with the next token *or* can join with the
  next token but that token is not a punct".

The fact that `Alone` is used for two different cases is awkward.
This commit augments `tokenstream::Spacing` with a new variant
`JointHidden`, resulting in:
- `Joint` means "can join with the next token *and* that token is a
  punct".
- `JointHidden` means "can join with the next token *and* that token is a
  not a punct".
- `Alone` means "cannot join with the next token".

This *drastically* improves the output of `print_tts`. For example,
this:
```
stringify!(let a: Vec<u32> = vec![];)
```
currently produces this string:
```
let a : Vec < u32 > = vec! [] ;
```
With this PR, it now produces this string:
```
let a: Vec<u32> = vec![] ;
```
(The space after the `]` is because `TokenTree::Delimited` currently
doesn't have spacing information. The subsequent commit fixes this.)

The new `print_tts` doesn't replicate original code perfectly. E.g.
multiple space characters will be condensed into a single space
character. But it's much improved.

`print_tts` still produces the old, uglier output for code produced by
proc macros. Because we have to translate the generated code from
`proc_macro::Spacing` to the more expressive `token::Spacing`, which
results in too much `proc_macro::Along` usage and no
`proc_macro::JointHidden` usage. So `space_between` still exists and
is used by `print_tts` in conjunction with the `Spacing` field.

This change will also help with the removal of `Token::Interpolated`.
Currently interpolated tokens are pretty-printed nicely via AST pretty
printing. `Token::Interpolated` removal will mean they get printed with
`print_tts`. Without this change, that would result in much uglier
output for code produced by decl macro expansions. With this change, AST
pretty printing and `print_tts` produce similar results.

The commit also tweaks the comments on `proc_macro::Spacing`. In
particular, it refers to "compound tokens" rather than "multi-char
operators" because lifetimes aren't operators.
2023-12-11 09:19:09 +11:00
..
auxiliary Add test 2023-01-19 15:46:08 +00:00
await-keyword Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop-order Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-sizes s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
in-trait recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
issues Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
multiple-lifetimes Adjust tests for new drop and forget lints 2023-05-10 19:36:02 +02:00
return-type-notation Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
track-caller Add separate feature gate for async fn track caller 2023-08-02 14:18:21 -07:00
argument-patterns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-assoc-fn-anon-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-await-let-else.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
async-await-let-else.stderr Rename in preparation for moving the async printing out of CoroutineSource 2023-10-25 16:37:14 +00:00
async-await.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-block-control-flow-static-semantics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-block-control-flow-static-semantics.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
async-borrowck-escaping-block-error.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-borrowck-escaping-block-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-borrowck-escaping-block-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-borrowck-escaping-closure-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-borrowck-escaping-closure-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-closure-matches-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-error-span.rs Bless tests. 2023-09-23 13:47:30 +00:00
async-error-span.stderr Bless tests. 2023-09-23 13:47:30 +00:00
async-fn-elided-impl-lifetime-parameter.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-nonsend.rs Bless tests. 2023-09-23 13:47:30 +00:00
async-fn-nonsend.stderr Bless tests. 2023-09-23 13:47:30 +00:00
async-fn-path-elision.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-path-elision.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-fn-send-uses-nonsend.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-size-moved-locals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-size-uninit-locals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-size.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-is-unwindsafe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-is-unwindsafe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-matches-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-trait-fn.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
async-unsafe-fn-call-in-safe.mir.stderr Fix inline const pattern unsafety checking in THIR 2023-10-16 15:57:59 +00:00
async-unsafe-fn-call-in-safe.rs Fix inline const pattern unsafety checking in THIR 2023-10-16 15:57:59 +00:00
async-unsafe-fn-call-in-safe.thir.stderr Fix inline const pattern unsafety checking in THIR 2023-10-16 15:57:59 +00:00
async-with-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
await-into-future.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
await-sequence.rs Bless tests. 2023-09-23 13:47:30 +00:00
await-unsize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
awaiting-unsized-param.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
awaiting-unsized-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bound-normalization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
clone-suggestion.fixed Tweak await span 2023-04-27 17:18:11 +00:00
clone-suggestion.rs Tweak await span 2023-04-27 17:18:11 +00:00
clone-suggestion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
conditional-and-guaranteed-initialization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-async-fn-in-main.rs add test 2023-09-26 20:15:28 +00:00
const-async-fn-in-main.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coroutine-desc.rs Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
coroutine-desc.stderr Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
coroutine-not-future.rs Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
coroutine-not-future.stderr Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
debug-ice-attempted-to-add-with-overflow.rs Add test for rust-lang#114912 2023-09-29 22:39:02 +10:00
debug-ice-attempted-to-add-with-overflow.stderr Add test for rust-lang#114912 2023-09-29 22:39:02 +10:00
deep-futures-are-freeze.rs Normalize before checking if local is freeze in deduced_param_attrs 2023-08-17 14:33:24 -07:00
default-struct-update.rs Bless tests. 2023-09-23 13:47:30 +00:00
dont-print-desugared-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-print-desugared-async.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-await-on-method-return-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-await-on-method-return-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-missing-await.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-missing-await.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop-and-assign.rs Bless tests. 2023-09-23 13:47:30 +00:00
drop-track-bad-field-in-fru.rs Bless tests. 2023-09-23 13:47:30 +00:00
drop-track-bad-field-in-fru.stderr Bless tests. 2023-09-23 13:47:30 +00:00
drop-track-field-assign-nonsend.rs Bless tests. 2023-09-23 13:47:30 +00:00
drop-track-field-assign-nonsend.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop-track-field-assign.rs Bless tests. 2023-09-23 13:47:30 +00:00
drop-tracking-unresolved-typeck-results.rs Bless tests. 2023-09-23 13:47:30 +00:00
drop-tracking-unresolved-typeck-results.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
edition-deny-async-fns-2015.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
edition-deny-async-fns-2015.stderr Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
expansion-in-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-async-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-async-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-self-return-type.rs Stabilize impl_trait_projections 2023-09-08 03:45:36 +00:00
feature-self-return-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
field-assign-nonsend.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
field-assign-nonsend.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
field-assign.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
future-contains-err-issue-115188.rs More precisely detect cycle errors from type_of on opaque 2023-08-27 22:03:16 +00:00
future-contains-err-issue-115188.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
futures-api.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generics-and-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incorrect-move-async-order-issue-79694.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incorrect-move-async-order-issue-79694.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incorrect-move-async-order-issue-79694.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
interior-with-const-generic-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54239-private-type-triggers-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60709.rs Remove asmjs from tests 2023-10-28 23:11:03 -07:00
issue-61076.rs tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
issue-61076.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
issue-61452.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61452.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-61793.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-62658.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-63832-await-short-temporary-lifetime-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63832-await-short-temporary-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64130-1-sync.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-64130-1-sync.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-64130-2-send.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-64130-2-send.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-64130-3-other.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-64130-3-other.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-64130-4-async-move.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-64130-non-send-future-diags.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64130-non-send-future-diags.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-64391.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66312.rs Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-66312.stderr Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-66387-if-without-else.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66387-if-without-else.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67252-unnamed-future.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-67252-unnamed-future.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67651.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67651.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67765-async-diagnostic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67765-async-diagnostic.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68112.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-68112.stderr Rename in preparation for moving the async printing out of CoroutineSource 2023-10-25 16:37:14 +00:00
issue-68523-start.rs Change start to #[start] in some diagnosis 2023-09-22 15:58:43 +02:00
issue-68523-start.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68523.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68523.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-69446-fnmut-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69446-fnmut-capture.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70594.rs Eagerly return ExprKind::Err on yield/await in wrong coroutine context 2023-11-28 19:29:56 +00:00
issue-70594.stderr Fix spans for bad await in inline const 2023-11-28 19:29:56 +00:00
issue-70818.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
issue-70818.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70935-complex-spans.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-70935-complex-spans.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-71137.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71137.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-72442.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72442.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-72470-llvm-dominate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72590-type-error-sized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72590-type-error-sized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73050.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73137.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-73541-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73541-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73541-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73541-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73541-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73541-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73541.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73541.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73741-type-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73741-type-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-74047.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74047.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-74072-lifetime-name-annotations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74072-lifetime-name-annotations.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
issue-74497-lifetime-in-opaque.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74497-lifetime-in-opaque.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-75785-confusing-named-region.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75785-confusing-named-region.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-76547.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76547.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-77993-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-77993-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78115.rs Move tests 2023-05-24 19:35:59 -03:00
issue-84841.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84841.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86507.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
issue-86507.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-93197.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-93648.rs Bless tests. 2023-09-23 13:47:30 +00:00
issue-98634.rs Tweak E0271 wording 2023-01-30 21:51:35 +00:00
issue-98634.stderr Tweak await span 2023-04-27 17:18:11 +00:00
issue-101715.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101715.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-105501.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-107036.rs Add test 2023-01-19 15:46:08 +00:00
issue-108572.fixed Suggest pin!() instead of Pin::new() when appropriate 2023-08-14 19:41:57 +00:00
issue-108572.rs Suggest pin!() instead of Pin::new() when appropriate 2023-08-14 19:41:57 +00:00
issue-108572.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missed-capture-issue-107414.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
move-part-await-return-rest-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
move-part-await-return-rest-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutually-recursive-async-impl-trait-type.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
mutually-recursive-async-impl-trait-type.stderr Point to full async fn for future 2023-10-03 02:25:32 +00:00
nested-in-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-async-const.rs Recover from incorrectly ordered/duplicated function keywords 2023-10-27 18:29:43 +00:00
no-async-const.stderr Recover from incorrectly ordered/duplicated function keywords 2023-10-27 18:29:43 +00:00
no-const-async.rs Remove identity_future indirection 2023-03-08 15:37:14 +01:00
no-const-async.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-move-across-await-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-move-across-await-struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-move-across-await-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-move-across-await-tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-non-guaranteed-initialization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-non-guaranteed-initialization.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-params-non-move-async-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-params-non-move-async-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-std.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-async.rs Recover from incorrectly ordered/duplicated function keywords 2023-10-27 18:29:43 +00:00
no-unsafe-async.stderr Recover from incorrectly ordered/duplicated function keywords 2023-10-27 18:29:43 +00:00
non-trivial-drop.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
normalize-output-in-signature-deduction.rs Normalize return type of deduce_future_output_from_obligations 2023-08-16 14:28:19 -07:00
partial-drop-partial-reinit.rs Rename in preparation for moving the async printing out of CoroutineSource 2023-10-25 16:37:14 +00:00
partial-drop-partial-reinit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
partial-initialization-across-await.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partial-initialization-across-await.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pin-needed-to-poll-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pin-needed-to-poll-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pin-needed-to-poll.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pin-needed-to-poll.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
proper-span-for-type-error.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proper-span-for-type-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proper-span-for-type-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursive-async-impl-trait-type.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
recursive-async-impl-trait-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
repeat_count_const_in_async_fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-ty-raw-ptr-coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-ty-unsize-coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
send-bound-async-closure.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
suggest-missing-await-closure.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-missing-await-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-missing-await-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-missing-await.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-missing-await.stderr fix: improve the suggestion on future not awaited 2023-02-13 16:23:23 +01:00
suggest-switching-edition-on-await-cargo.rs recover primary span label 2023-11-16 17:00:23 +00:00
suggest-switching-edition-on-await-cargo.stderr recover primary span label 2023-11-16 17:00:23 +00:00
suggest-switching-edition-on-await.rs recover primary span label 2023-11-16 17:00:23 +00:00
suggest-switching-edition-on-await.stderr recover primary span label 2023-11-16 17:00:23 +00:00
task-context-arg.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
try-on-option-in-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-on-option-in-async.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-parameter-send.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnecessary-await.rs fix spans for removing .await on for expressions 2023-10-21 13:18:00 +02:00
unnecessary-await.stderr fix spans for removing .await on for expressions 2023-10-21 13:18:00 +02:00
unreachable-lint-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-lint-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unreachable-lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unresolved_type_param.rs Bless tests. 2023-09-23 13:47:30 +00:00
unresolved_type_param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsized-across-await.rs Revert duplication of tests. 2023-09-23 13:34:07 +00:00
unsized-across-await.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00